mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
Merge pull request #15527 from carehart/patch-5
Clarify bind-mount obscuring of non-empty directories in container
This commit is contained in:
@@ -158,7 +158,7 @@ $ docker container rm devtest
|
||||
|
||||
### Mount into a non-empty directory on the container
|
||||
|
||||
If you bind-mount into a non-empty directory on the container, the directory's
|
||||
If you bind-mount a directory into a non-empty directory on the container, the directory's
|
||||
existing contents are obscured by the bind mount. This can be beneficial,
|
||||
such as when you want to test a new version of your application without
|
||||
building a new image. However, it can also be surprising and this behavior
|
||||
|
||||
Reference in New Issue
Block a user