Docker
Self-hosted development platform · Free + paid
Container development tools: they package applications and dependencies in a reproducible environment and connect services through Compose.
Also known as: Docker Desktop; Docker Engine; Moby

What you can use for free
Engine code is available under its own OSS terms; Desktop is free for personal, educational, noncommercial OSS use and businesses with <250 employees AND < $10 million revenue.
Paid features and costs
Professional Desktop use in larger organizations and government requires a subscription. Cloud builds, registry quotas, and hosting are assessed separately.
Access and limitations
Engine code is available under its own OSS terms; Desktop is free for personal, educational, noncommercial OSS use and businesses with <250 employees AND < $10 million revenue. Professional Desktop use in larger organizations and government requires a subscription. Cloud builds, registry quotas, and hosting are assessed separately.
Use cases
- Prepare a reproducible application container environment
- Connect services through Compose and test building and starting the test environment
Example workflow
A possible workflow; this is not a report of hands-on testing.
Run an application and database in a repeatable environment.
Before you start
- Source code and a Dockerfile.
- Service and persistent storage configuration.
Steps
- Build the application image.
- Define the network and service dependencies in Compose.
- Test restart and preservation of a test record.
Check your result
- A clean environment starts from the documented setup.
- Data survives the planned restart.
Choosing Docker
Package an application and dependencies into an image and run them in containers.
Choose this when
- A repeatable environment is needed for development and CI.
- Multiple connected services must be defined through Compose.
Consider alternatives when
- For one small application, ordinary installation and process management may sometimes suffice.
Requirements
- Docker Engine or a suitable Docker Desktop environment; an image and startup configuration.
Things to consider
- Container data needs carefully designed persistent storage.
- Check Docker Desktop and image terms separately.
Frequently asked questions
Does a container replace a database backup?
No. An image describes an environment; data and recovery require separate procedures.
Related tasks and approaches
- Full Stack FastAPI Template
Example use: an application and connected services through Compose.
- Supabase
Example use: self-hosting a backend platform.
License
Docker Desktop proprietary Subscription Service Agreement; Moby Engine Apache-2.0 and dependency notices.
Proprietary terms — the vendor determines your rights
Use of the software or service is governed by its Terms/EULA and the chosen plan. Free access does not automatically grant rights to modify and distribute source code, resell assets, or use outputs commercially. The specific product's terms define permitted use, export, and commercial rights.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsTechnologies and topics
- Docker
- Development