This guide uses Docker Compose to run Umbraco in containers.
For Docker installation, see Docker.
Publish the CMS application using the .NET SDK.
cat <<'YAML' > docker-compose.yml
services:
app:
image: mcr.microsoft.com/dotnet/aspnet:8.0
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./app:/app
working_dir: /app
command: "dotnet App.dll"
YAML
docker compose up -d
💼 Professional Services: Need expert help with your Umbraco Docker deployment? We offer consulting, training, and support. Contact our team →