Feasible can grant instruction how to do
CodePudding user response:
Feasible, data volume/data volume container can realize,Example: the docker run - d - name test - v/host/directory:/docker/container
CodePudding user response:
How to access to a Shared storage docker container?CodePudding user response:
CodePudding user response:
# (mapping directory, the colon is inside the container path, in front of the colon is hosting path)Docker run - v/usr/local/mount/services/conf:/bin/conf
CodePudding user response:
Possible, but I just use others to do the container can realize, don't know how to do, find a way please shareCodePudding user response:
Through the docker volume, usually by -v directory is mapped to a container inside host machine, the docker volume can achieve the container internal file mapping to the corresponding file system of the host machineFirst create volume, and then to docker will run - v volume mounted to the container, you can look up in a host machine volume path under the inside of the container file