Viewing all run parameters of a docker container -


i have running docker container started else using docker run ....

is possible list parameters of docker run of container?

i've tried docker inspect <container_id> information of container. i'm not sure how correctly convert results of docker inspect parameters of docker run.

you can try nexdrew/rekcod:

a simple module reverse engineer docker run command existing container (via docker inspect).
pass in container names or ids want reverse engineer , rekcod output docker run command duplicates container.

$ npm -g rekcod  # single container $ rekcod container-name  docker run --name container-name ... 

of course, matthew adds in comments, docker compose helps specifying exact parameters need containers.
or @ least version sources scripts launching container docker run commands (if don't use docker-compose).


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -