Only workspace IDs are saved in this browser—never files or input.
LOCAL TOOL / WEB

Docker Run → Compose Converter

Paste one docker run command. Common ports, volumes, environment, restart, network, user, working-directory, entrypoint, health, and capability flags are supported.

Paste, type, or drag & drop a text file 124 chars · 1 lines · 124 B
Options
Compose service key. Leave empty to derive it from --name or the image.
Runs locally in this browserPreview updates after 280 ms · Nothing is uploaded. Passwords are stored only when you explicitly choose Remember on this device.
02
Tool outputCompose YAML with a service name, image, command, and mapped options.
Run toolNothing is uploaded. Passwords are stored only when you explicitly choose Remember on this device.
About this utility

How to use Docker Run → Compose Converter

Parse a bounded docker run command into an inspectable Compose model without invoking a shell.

What to provide

Paste one docker run command. Common ports, volumes, environment, restart, network, user, working-directory, entrypoint, health, and capability flags are supported.

  1. Paste, type, or drag and drop a supported text file into the input area.
  2. Choose the options that match your intended result.
  3. Select “Run tool” or press Ctrl/Command + Enter, then copy, download, or move the result back into the first input for another pass.

What the result means

Compose YAML with a service name, image, command, and mapped options.

Privacy and safety

This utility is loaded as browser code and processes your input only in this tab. OmniCastConverter has no upload endpoint and never stores your content, filenames, tokens, or secrets. Generated markup and code are shown as inert text and are never executed.

Limitations

  • Shell substitutions, pipelines, redirects, secrets from the environment, unsupported Docker flags, and platform-specific path expansion are rejected or reported for manual review.

Try the included example

Select “Load example” at any time to restore this tested sample.

docker run -d --name web --restart unless-stopped -p 8080:80 -e NODE_ENV=production -v ./data:/app/data:ro nginx:1.27-alpine