Skip to content
Search

Runlike

lastmod 2023-02-27created 2023-02-271 edits

Print the run command of a Docker container

Features

  • A tool that prints the command needed to run an exact copy of a running Docker container
  • Prints all options as-is: ports/links/volumes/environment variables, etc.
  • $ runlike -p redis
  • -p option: multi-line output
  • Packaged as a Docker image, so it can run without installation
    • docker run --rm -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike YOUR-CONTAINER

See also

Favorite site

author Zer0 sitemap