Created
April 24, 2024 16:38
-
-
Save junosuarez/c5a60a6bad213615ca2d4f2b1dc53f9a to your computer and use it in GitHub Desktop.
Recover a docker run command from a running docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker inspect \ | |
--format "$(curl -s https://gist.githubusercontent.com/efrecon/8ce9c75d518b6eb863f667442d7bc679/raw/run.tpl)" \ | |
name_or_id_of_your_running_container | |
# via https://stackoverflow.com/a/38077377 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment