Docker Community Forums

Share and learn in the Docker community.

Unable to find user root: no matching entries in passwd file when I attempt docker build

Hello, I did sudo yum update on RHEL instance in AWS and now I am back to docker 1.13. I started a new instance with Amazon Linux and installed docker. When I try docker build, I get this error: unable to find user root: no matching entries in passwd file. I have user root defined in my Amazon Linux instance. The same docker build used to work after I had installed docker 19 on RHEL 7.9 instance. I have Docker 20.10.4 on my Amazon Linux instance. I do not understand what happened. I did not use docker cp which I found written up when I searched my error message before I started this post.

This post was flagged by the community and is temporarily hidden.