Docker Community Forums

Share and learn in the Docker community.

Ownership issue in Named Volume after upgrading to Fedora 25/Docker 1.12.3

Hello,

One of my container stopped to work after a version upgrade to 1.12.3.
It uses a named volume to store some files.

After the upgrade, permissions and ownership are strange, with ??? all over.
Of course, I get “permission denied” for any operation in that folder.

Look at this, where /opt/etherpad-lite/var is mapped to the named volume:

root@7d8ce7d4c042:/opt/etherpad-lite# chown -R etherpad:etherpad /opt/etherpad-lite/var/*
chown: cannot access ‘/opt/etherpad-lite/var/etherpad.db’: Permission denied

root@7d8ce7d4c042:/opt/etherpad-lite# ls -la /opt/etherpad-lite/var/
ls: cannot access /opt/etherpad-lite/var/.gitignore: Permission denied
ls: cannot access /opt/etherpad-lite/var/etherpad.db: Permission denied
total 4
drwxr-xr-x. 2 etherpad etherpad 43 Nov 28 18:25 .
drwxr-xr-x. 9 etherpad etherpad 4096 Nov 28 18:25 …
-??? ? ? ? ? ? .gitignore
-??? ? ? ? ? ? etherpad.db

Any idea? I found no change in release note that could explain that.

Thank you in advance.

To complete the information:

% docker volume inspect etherpad
[
{
“Name”: “etherpad”,
“Driver”: “local”,
“Mountpoint”: “/var/lib/docker/volumes/etherpad/_data”,
“Labels”: null,
“Scope”: “local”
}
]