查看指定docker container的启动命令

使用开源的runlike工具:
$ pip install runlike

# run the ubuntu image
$ docker run -ti ubuntu bash

$ docker ps -a  
# suppose you get the container ID 1dfff2ba0226

# Run runlike to get the docker run command. 
$ runlike 1dfff2ba0226
docker run --name=elated_cray -t ubuntu bash

posted on 2016-10-19 14:57  傻子才悲伤  阅读(2624)  评论(0编辑  收藏  举报

导航