有没有用过 Docker Engine API 的弟兄~问一个小问题
資深大佬 : sologgfun 5
https://docs.docker.com/engine/api/v1.40/#
POST /containers/create 这个 api 的入参有个 [ Volumes ] 字段
Volumes
An object mapping mount point paths inside the container to empty objects.
想问下这个 Volumes 啥意思,把我看迷糊了,我以为是把 host 路径映射到 container 路径的 map,试了一下发现不是啊。那这个是啥?
大佬有話說 (3)