Skip to content

πŸš€ v0.3.0 β€” Add --print-run flag to output container run command

Latest

Choose a tag to compare

@azorpax azorpax released this 12 Jul 12:08

✨ Features

  • --print-run flag: Outputs the full docker run command that would recreate the container with the same configuration
  • Useful for debugging, scripting, or manually inspecting container parameters
  • Automatically exits after printing the command; skips image pull and diff

πŸ›  Improvements

  • --print-run now takes precedence over --dry-run
  • Updated help/usage section in the script for better clarity
  • Reformatted README options using a clean Markdown table
  • Corrected license reference in README (Apache β†’ MIT)
  • Bumped version from v0.2.0 to v0.3.0

πŸ”– Example

whalelift --print-run my-container

Outputs:

docker run -d --name my-container --restart=always -e FOO=bar -p 8080:80 -v /data:/data your-image:latest