Re: problem with docker image
От | Dave Page |
---|---|
Тема | Re: problem with docker image |
Дата | |
Msg-id | CA+OCxoz9shv=3AtaVK2HEz=jjyUdJ51X5QazBpnMKwzjbSj7Dg@mail.gmail.com обсуждение исходный текст |
Ответ на | problem with docker image (Mickaël SALMON <ms@sylob.com>) |
Ответы |
Re: problem with docker image
|
Список | pgadmin-support |
On Thu, Sep 10, 2020 at 8:29 AM Mickaël SALMON <ms@sylob.com> wrote:
Hi community,I have a problem mapping file servers.json with latest docker image.Here is how I run my container :docker run --name pgadmin4 --restart unless-stopped -p 80:80 -e 'PGADMIN_DEFAULT_EMAIL=XXX' -e 'PGADMIN_DEFAULT_PASSWORD=XXX' -v /root/pgadmin4/servers.json:/pgadmin4/servers.json -d dpage/pgadmin4servers.json is mapped to a directory :ms-alpine:~/pgadmin4# ls -lhtotal 4Kdrwxr-xr-x 2 root root 4.0K Sep 10 09:26 servers.jsonWhere am I wrong ?
I suspect the container (which runs under UID 5050) cannot read files in /root on your host. The file has permissions that would allow that, but does the directory it's in?
В списке pgadmin-support по дате отправления: