-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration for persistent data of mysql #7
Comments
It looks like a bug, any Idea where to fix this ? |
So I figure it out, about mysql. Because the Docker image is builded before, when we try to mount a drive like I had to copy the first launch content of the directory, then rebuild the image again after placing the copy into
On next image build, the mysql directory should be OK, but you will have the exact same problem for the Edit : Ok so I still can't make it work,
What is systemd-bus-proxy systemd-timesync ? I can run mysql container through the bash but it says right after login that Mysql is running but I can't stop or restart the service. |
Unfortunately this docker image is far from being truly persistent and docker-way. To improve it one should use separate DB container w/ or w/o mounted volume/data-container for persistence and start all services inside container with startup script, not Ubuntu init. I use this image "as is" and never remove container (start/stop is ok). |
conf :
Docker version 1.8.2, build 0a8c2e3
Linux prod-01 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux
I am trying to install `cema-sp/iredmail-docker with this docker-compose.yml file :
When running the container got stuck on :
Container start but mysql service is stopped, test from inside the container :
Container logs only has
Attaching to iredmail_iredmail_1
Content of folder
/srv/docker
on host is owned byroot:docker
Content of folder
/srv/docker/iredmail/mysql
is emptyI have tried without mounting
/var/lib/mysql
and it worked, do you guy have the same issue ?Last question, do I have any other volumes to mount so it won't lose any data on restart ?
The text was updated successfully, but these errors were encountered: