Thread: no matching entries in passwd file
Hello team,
I have database & users created inside the docker but we are getting connection issue while trying to connect to database using user created in postgres.
docker exec -it -u test b8e7ejb1e31d bash
unable to find user test: no matching entries in passwd file
Regards,
Daulat
Hi Daulat, I believe that the error message is referring to the system user, not the database one. docker exec --help | grep -- -u -u, --user string Username or UID (format: <name|uid>[:<group|gid>]) regards, fabio pardi On 5/21/19 2:42 PM, Daulat Ram wrote: > Hello team, > > > > I have database & users created inside the docker but we are getting > connection issue while trying to connect to database using user created > in postgres. > > > > docker exec -it -u test b8e7ejb1e31d bash > > unable to find user test: no matching entries in passwd file > > Regards, > > Daulat > > >