docker run -d -v /opt:/oopptt centos:7 sleep 3000
docker ps -aq | xargs docker inspect -f '{{.Id}} {{range .Mounts}} _{{eq .Source "/opt"}}_ {{end}}' | grep _true_ | xargs docker unpause
sh -c "docker ps -aq | xargs docker inspect -f '{{.Id}} {{range .Mounts}} _{{eq .Source \"/opt\"}}_ {{end}}' | grep _true_ | xargs docker unpause"
https://www.cnblogs.com/boshen-hzb/p/6376674.html
https://www.jianshu.com/p/65377285662e
https://www.jianshu.com/p/c4fed1c397b0
网友评论