mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
Merge pull request #15527 from carehart/patch-5
Clarify bind-mount obscuring of non-empty directories in container
This commit is contained in:
1 file changed
+1
-1
@@ -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