I am using Ubuntu Docker 17.12.0ce on 16.04 and have php app running.
It has 2 containers:
Problem is that mysql container is frequently crushing. Solution is to add swap space. But most of explanation are for “regular” server not dockerized.
I do not have
also i can “get in” apache using
docker exec -ti prj_apache_1 bash
docker exec -ti prj_mysql_1 bash
so my question inside which containers do i run this commands: https://www.digitalocean.com/community/questions/mysql-server-stops-very-frequently?comment=42488 ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!