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.