]
Xavier Coulon updated ERT-160:
------------------------------
Fix Version/s: Neon (4.6)
Provide guidance when setting up Data Volumes in Run a Docker Image
dialog [EBZ#491029]
---------------------------------------------------------------------------------------
Key: ERT-160
URL:
https://issues.jboss.org/browse/ERT-160
Project: Eclipse Release Train
Issue Type: Task
Components: Linux Tools
Reporter: Friendly Jira Robot
Labels: Docker, bzira
Fix For: Neon (4.6)
When you set up a volume mount when running an image on Docker Machine or other
non-native docker daemon, you have to make sure to use the right directory for this to
work.
From
https://docs.docker.com/engine/userguide/containers/dockervolumes/#mount-...
:
If you are using Docker Machine on Mac or Windows, your Docker daemon has only limited
access to your OS X or Windows filesystem. Docker Machine tries to auto-share your /Users
(OS X) or C:\Users (Windows) directory.
This means that unless you choose a mount inside your home directory, it will not work
for you - the docker container will have a directory that is mounted inside docker
machine, but not on your machine.
It would be good if we could make this clear to the user somehow - perhaps provide a
tooltip or something.