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 ,rekcodoutputdocker runcommand 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
Post a Comment