Which is what I'd expect given the docker-compose.yml that we're using. We have docker-compose running on a regular basis and it doesn't correct the issue. I'm not sure that docker-compose is actually causing it (maybe it's docker-core that's doing this?) but I thought I'd start here. We are using the same version of docker and docker-compose across all the servers involved.
$ docker --version
Docker version 17.06.0-ce, build 02c1d87
$ docker-compose --version
docker-compose version 1.13.0, build 1719ceb
I am working on getting some statistics on how frequently this happens.
We have docker-compose files which look like this:
These generally start up exactly how you'd expect them to, however on a number of our servers I've found the following:
Note the /var/www mount is a volume mount:
I compare that to servers where the container is functioning correctly and see:
Which is what I'd expect given the docker-compose.yml that we're using. We have docker-compose running on a regular basis and it doesn't correct the issue. I'm not sure that docker-compose is actually causing it (maybe it's docker-core that's doing this?) but I thought I'd start here. We are using the same version of docker and docker-compose across all the servers involved.
I am working on getting some statistics on how frequently this happens.