docker:如何查看容器的挂载映射目录
[root@localhost lib64]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9cb8be23988c jenkins_yto:v1 “/sbin/tini – /usr/…” 8 weeks ago Up 2 hours 0.0.0.0:50000->50000/tcp, 0.0.0.0:8081->8080/tcp jenkins_docker
[root@localhost lib64]# docker inspect jenkins_docker | grep Mounts -A 20
“Mounts”: [
{
“Type”: “bind”,
“Source”: “/usr/bin/docker”,
“Destination”: “/usr/bin/docker”,
“Mode”: “”,
共有 0 条评论