docker run to Compose
Convert docker run to Compose accurately with exact bit-level calculations locally in your browser.
Worked Example
OCI CLI → Compose Specdocker run -d --name edge-api --restart unless-stopped -p 8080:8080 -e NODE_ENV=production -e LOG_LEVEL=info -v /srv/data:/app/data:ro --network backend --memory 512m ghcr.io/example/api:2.4.1 node server.jsservices:
edge-api:
image: ghcr.io/example/api:2.4.1
container_name: edge-api
restart: unless-stopped
mem_limit: 512m
ports:
- "8080:8080"
volumes:
- "/srv/data:/app/data:ro"
...Technical Architecture
Zero-Upload Local Engine
Processes docker run strictly inside browser memory so certificates, keys, and configs never leave your device.
RFC & Standard Compliant
Implements exact BigInt subnet math, ASN.1 DER parsing, and RFC-compliant Compose generation.
Deterministic Ops Output
Produces clean, auditable Compose ready for DNS zones, Nginx, Docker, systemd, and CI pipelines.
Instant Browser Execution
Lightweight pure-script engine with native Web Crypto hashing and instant keyboard workflows.
How to use docker run to Compose
- 1Paste your docker run input or open a local config file in the left editor.
- 2Adjust output format, hash algorithm, or indentation options in the toolbar above.
- 3Inspect the instant Compose result on the right, then copy or download it directly.
Frequently Asked Questions
Are my docker run configs or certificates uploaded to a server?
No. Every calculation, ASN.1 decode, and validation step runs strictly inside your browser memory so private configs never leave your machine.
What standards does docker run to Compose follow?
docker run to Compose follows modern RFC and POSIX conventions for docker run processing to generate accurate, production-ready Compose output.
Can I chain the output into another NetFmt tool?
Yes. Use the Next Step button above the editor to send the current Compose result straight into another NetFmt tool without re-pasting.