unable to find user root: no matching entries in passwd file

Sometimes, after restarting the Docker container that message appears.

If instead of restarting like this: docker restart cc58908a8dc2

I stopped and started the container like this:

docker stop cc58908a8dc2
docker start cc58908a8dc2

Then the error disappeared.


If you want to get this fixed please remember to comment on https://forums.docker.com/t/unable-to-find-user-root-no-matching-entries-in-passwd-file/26545/9

Also use the feedback button from the KB article documenting how to restart docker engine when you encounter it: https://success.docker.com/article/ucp-health-checks-fail-unable-to-find-user-nobody-no-matching-entries-in-passwd-file-observed

It seems that the internet is full with others randomly encountering this bug.

To get an idea about which change you have to encounter it, take at look at http://status.openstack.org/elastic-recheck/index.html#1803544 which is a graph of bug occurence on OpenStack CI jobs, occurds daily.

I know that any software has bugs and that it takes time to fix them, but this bug left me.... more than two years old and the only feedback from Docker was "tracker privatly" and "restart docker".

Tags:

Docker