使用下面命令:
docker inspect -f '{{ .Mounts }}' market_twitter_1
*注意将market_twitter_1换成你自己的容器名
结果:
[{bind /opt/logs/meta-go-market/twitter /logs rw true rprivate} {bind /opt/www/meta-go-market/conf /config rw true rprivate}]
使用下面命令:
docker inspect -f '{{ .Mounts }}' market_twitter_1
*注意将market_twitter_1换成你自己的容器名
结果:
[{bind /opt/logs/meta-go-market/twitter /logs rw true rprivate} {bind /opt/www/meta-go-market/conf /config rw true rprivate}]