别人安装的dockers 需要知道安装路径
[root@guoguodong redis]# docker ps |grep redis eed8f8ae2748 redis:6.2.6 "docker-entrypoint.s…" 4 days ago Up 4 days 0.0.0.0:6379->6379/tcp, :::6379->6379/tcp redis 846e4a8f53dc redis:6.2.6 "docker-entrypoint.s…" 19 months ago Up 3 months 0.0.0.0:8001->8001/tcp, :::8001->8001/tcp, 6379/tcp, 0.0.0.0:18001->18001/tcp, :::18001->18001/tcp redis-node12 1288d6f60cbc redis:6.2.6 "docker-entrypoint.s…" 19 months ago Up 3 months 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 6379/tcp, 0.0.0.0:18000->18000/tcp, :::18000->18000/tcp redis-node11
此时需要docker inspect 命令