How to add swap to docker?
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: