Skip to content

Instantly share code, notes, and snippets.

@lsemenenko
Created February 14, 2020 06:05
Show Gist options
  • Select an option

  • Save lsemenenko/71d15a8145fb77f8e1be5fd9b0897b15 to your computer and use it in GitHub Desktop.

Select an option

Save lsemenenko/71d15a8145fb77f8e1be5fd9b0897b15 to your computer and use it in GitHub Desktop.
Pull entrypoint/cmd from running containers
docker inspect -f "{{.Path}} {{.Args}} ({{.Id}})" $(docker ps -a -q)
Source: https://stackoverflow.com/questions/30441035/how-to-find-the-cmd-command-of-a-docker-image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment