Docker Run → Compose Converter

Paste a docker run command and get an equivalent docker-compose.yml — processed entirely in your browser.

0 chars · 0 lines
0 chars · 0 lines

Supported flags: --name, -p, -v, -e, --env-file, --restart, --network, --hostname, --user, --workdir, --entrypoint, --label, --cap-add, --cap-drop, --device, --dns, --add-host, --memory, --cpus, --platform, --log-driver, --log-opt, --privileged, --read-only, -it and more. Memory/CPU limits are mapped to the deploy.resources block. User-defined networks are emitted as external: true — remove that line if you want Compose to create them.