Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
docs(docker): 添加参考链接
Browse files Browse the repository at this point in the history
  • Loading branch information
zjZSTU committed Oct 1, 2019
1 parent 7c76c1b commit a0f56fa
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

# [volume][bind mount]标识符-v和--mount解析

参考:

[Use volumes](https://docs.docker.com/storage/volumes/#choose-the--v-or---mount-flag)

[Use bind mounts](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation)

`docker run`命令的标识符`-v``--mount`均可用于卷操作和绑定挂载操作

最开始`-v`仅作用于独立容器(`standalone container`),而`--mount`作用于`swarm`服务。从`Docker 17.06`开始,`--mount`也可作用于独立容器
Expand Down

0 comments on commit a0f56fa

Please sign in to comment.