Docker目录挂载

将宿主机目录挂载到容器

docker run --di --name=容器名称 -v 宿主目录:容器目录 镜像名称:TAG

权限问题

docker run --di --name=容器名称 -v 宿主目录:容器目录 --privileged=true 镜像名称:TAG
Last modification:January 14th, 2019 at 01:21 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment