Difference between revisions of "Bind mounts (Docker)"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 3: | Line 3: | ||
<code>[[--mount]]</code> | <code>[[--mount]]</code> | ||
+ | |||
+ | |||
+ | |||
+ | <code>[[docker inspect]]</code> | ||
+ | "Mounts": [ | ||
+ | { | ||
+ | "Type": "bind", | ||
+ | "Source": "/srv/rocketchat/uploads", | ||
+ | "Destination": "/app/uploads", | ||
+ | "Mode": "rw", | ||
+ | "RW": true, | ||
+ | "Propagation": "rprivate" | ||
+ | } | ||
+ | ], | ||
+ | |||
Revision as of 10:22, 1 September 2020
https://docs.docker.com/storage/bind-mounts/
--mount
"Mounts": [ { "Type": "bind", "Source": "/srv/rocketchat/uploads", "Destination": "/app/uploads", "Mode": "rw", "RW": true, "Propagation": "rprivate" } ],
Activities
- Read Introduction to Docker Bind Mounts and Volumes: https://docs.docker.com/storage/bind-mounts/
Related terms
- Docker volumes
VOLUME
keyword inDockerfile
See also
- Docker Volumes:
docker volume ls
,docker volume create
,docker volume inspect
,docker volumes prune
,docker volume create
,docker volume rm
,docker system df
,mounts
,--volumes-from
- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: