Docker Run to Compose Converter
Runs 100% in your browser — your files never leave your device.
A working docker run command is useful for testing but hard to maintain or share. Paste it to generate equivalent Compose YAML with the image, command, ports, volumes, environment variables, restart behavior, and other supported options arranged under a service.
How it works
- 1
Paste a docker run command
- 2
Review conversion messages
- 3
Copy the Compose YAML
Related tools
HTTP Basic Auth Header Generator Generate a complete HTTP Basic Authorization header from a username and password, with Unicode-safe base64 encoding in your browser. Chmod Permissions Calculator Convert Unix read, write, and execute checkboxes into octal and symbolic permissions, or enter octal to update the matrix. Free and live. Cron Expression Validator & Explainer Validate five-field cron expressions and translate schedules into readable English using 24-hour time. Free, instant, and in-browser. Browser & Device Information Inspect screen, window, orientation, pixel ratio, languages, platform, CPU cores, online status, and User-Agent data from your browser. Email Address Normalizer Online Normalize email addresses one per line for consistent comparison, including provider-specific casing, dots, and aliases. Free and private. Git Command Cheat Sheet Search practical Git commands for setup, changes, history, branches, remotes, stashes, tags, and debugging. Free copy-ready reference.
More developer tools
URL Encoder & Decoder Online Percent-encode text for safe use in URLs or decode escaped URL components back to readable text. Free, instant, and fully in-browser. HTML Entity Encoder & Decoder Escape HTML special characters or decode named, decimal, and hexadecimal entities back to text. Free, private, and browser-based. URL Parser & Query String Inspector Break a URL into protocol, credentials, host, port, path, query parameters, hash, and origin. Free, standards-based, and in-browser.