no matching entries in passwd file

Поиск
Список
Период
Сортировка
Искать

no matching entries in passwd file

От:
Daulat Ram <Daulat.Ram@exponential.com>
Дата:

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

 

Re: no matching entries in passwd file

От:
Fabio Pardi <f.pardi@portavita.eu>
Дата:
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:
[:])



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
> 
>  
> 


FAQ