Difference between revisions of "Bind mounts (Docker)"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
− | + | * <code>VOLUME</code> keyword in [[Dockerfile]] | |
+ | * <code>[[--mount]]</code> | ||
+ | |||
+ | |||
+ | |||
+ | <code>[[docker inspect]]</code> | ||
+ | "Mounts": [ | ||
+ | { | ||
+ | "Type": "bind", | ||
+ | "Source": "/srv/rocketchat/uploads", | ||
+ | "Destination": "/app/uploads", | ||
+ | "Mode": "rw", | ||
+ | "RW": true, | ||
+ | "Propagation": "rprivate" | ||
+ | } | ||
+ | ], | ||
+ | |||
Line 11: | Line 27: | ||
== Related terms == | == Related terms == | ||
* [[Docker volumes]] | * [[Docker volumes]] | ||
− | + | * <code>[[VOLUME]]</code> keyword in <code>[[Dockerfile]]</code> | |
+ | * [[volume]] | ||
== See also == | == See also == |
Latest revision as of 08:37, 13 July 2023
https://docs.docker.com/storage/bind-mounts/
VOLUME
keyword in Dockerfile--mount
"Mounts": [ { "Type": "bind", "Source": "/srv/rocketchat/uploads", "Destination": "/app/uploads", "Mode": "rw", "RW": true, "Propagation": "rprivate" } ],
Activities[edit]
- Read Introduction to Docker Bind Mounts and Volumes: https://docs.docker.com/storage/bind-mounts/
Related terms[edit]
- Docker volumes
VOLUME
keyword inDockerfile
- volume
See also[edit]
- 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: