iay / mdq-server-docker

mdq-server deployment as Docker containers
1 stars 3 forks source link

container should start on system start #4

Closed iay closed 10 years ago

iay commented 10 years ago

In the current deployment, although Docker starts when the Ubuntu system comes up, the Docker container is not itself started. This appears to have been a change in behaviour between Docker versions.

We should make sure the Docker container is started as appropriate. In the context of this project, I think that means producing an appropriate systemd script.

iay commented 10 years ago

Commit 9467618 probably fixes this. Needs to be tested in a couple more systems.

iay commented 10 years ago

Docker has a race condition that affects this (see docker/docker#6647) so we need to delay until Docker has really started. Added this in commit 24a4e65ead3c5ce984c810e540bd720b06a8eb84, and that seems to be doing the trick at least in simplistic single container scenarios. Closing.