Mount directory from docker container to host

  containers, docker

I’m trying to mount a directory from a docker container to the host file system

sudo mount 172.17.0.2:/mnt/my_storage /home/user/data/

but the command seems to be pending.

I used this command in the past with another instance of the same container image and everything was fine.

Any check to face the issue? Is there another way to accomplish that?

Thanks

Source: Docker Questions

LEAVE A COMMENT