查看指定docker container的启动命令
2020-05-28 本文已影响0人
BenjaminY
使用开源的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