How it works
- What converts:
--name,-p,-vand--mount,-eand--env-file,--restart,--network,--device,--gpus(as adeploy.resourcesGPU reservation),--cap-add,--health-*,--log-opt,--ulimit,--sysctl, memory and CPU limits, and the image and command. Combined flags like-ditwork, and so do backslash line breaks. - Several containers? Put each
docker runon its own line (or join them with&&) and you get one service each. - Named volumes (like
-v appdata:/data) are added to a top-levelvolumes:block. Custom networks are markedexternal: truebecausedocker network createalready made them. - Warnings point out flags with no Compose equivalent (like
--rm) and floating:latesttags. Pin a version so updates only happen when you choose, then check it with the Compose update checker. - Privacy: the converter is a small script on this page. Your command never leaves your browser. Still, swap real passwords for placeholders before sharing a Compose file.
Next: check the YAML or browse release verdicts for 50+ self-hosted apps.
📬 The Weekend Patch Report
One email a week: what's safe to update, what will bite, and one practical tip for your homelab or printer.
Free, weekly, unsubscribe anytime.