Denied

Mounting folders as Docker volumes July 3, 2018 valerauko. Extract its mount point from docker volume inspect. As you’ll get permission denied errors on them. Both as docker container volume mapping and remote path mapping. PS: Yes, IP is good, as long as it’s the same in the settings and the mapping. MirxNL March 23, 2018, 5:24pm. Permission denied within mounted volume inside Docker/Podman container. Docker - Mount a volume from a container to an other (equivalent volumesfrom) in docker.

Docker Volume Mount Permission Denied 2018

I am having trouble mounting a Docker volume. The Docker volume was created using the docker volume create command, and is backed by an NFS share.

Environment:

  • Arch Linux at 10.0.2.5 - the Docker host

  • Ubuntu Server 16.04 at 10.2.0.4 - the NFS server.

On Ubuntu, the export is configured as

On Arch, the client has nfs-utils installed. It seems to mount fine through the command line.I am able to add/remove/read files and directories to the /tst directory on Arch.

I create a docker volume like this:

That step itself returns no errors, however, when I actually try to start the docker container, I get a connection refused error.

The Arch machine definitely seems to be able to communicate with the Ubuntu machine. Various error messages I saw through testing. They all were identical to the error above, except for the last line.

  • Ubuntu Powered Off: no route to host

  • Ubuntu Powered On, No shares configured in /etc/exports: permission denied

  • Ubuntu Powered On, Shares configured in /etc/exports, did not create /ghost-data directory on Ubuntu: no such file or directory.

Testing on a Debian based Docker host, I am able to mount the volume successfully (running the exact same docker volume create command).

Any suggestions on next steps for troubleshooting this?

Thanks!

Docker Volume Mount Permission Denied 2018

Last edited by vinsanity82 (2019-01-03 04:42:52)