Docker Run to Compose 変換
「Docker Run to Compose 変換」はコード、データと QRに使えるブラウザツールです。入力内容と結果は通常この端末内で処理され、登録は必要ありません。
使い方
使い方
- Paste one docker run command, including options such as ports, environment variables, volumes, and a name.
- Convert it and review the generated Compose YAML plus any unsupported flags.
- Copy the YAML or download it as compose.yaml.
Common Docker options
The converter understands detached mode, container names, port mappings, environment variables, volumes, restart policies, networks, hostnames, work directories, and the remove flag. The image is required.
Review before running
Docker has many flags and shell grammars. Unsupported options are listed after conversion so you can confirm the YAML before using it. Conversion happens entirely in your browser.
よくある質問
あわせて知りたいこと
Does this run Docker?
No. It only translates text into Compose YAML; review and run the result yourself.
Which flags are supported?
Common flags include --name, -p/--publish, -e/--env, -v/--volume, --restart, --network, --hostname, --workdir, --rm, and --entrypoint.
Can I paste a shell script?
Paste one docker run command. Shell quoting is handled for common quoted values, but complex shell expansion should be reviewed manually.