Guides · 7 min read
Install Docker and run your first container
Install Docker Engine from the official repository on Debian or Ubuntu and publish a container on IPv6 or a forwarded IPv4 port.
Every Enzonic VPS is a full KVM virtual machine, so Docker, Compose and systemd work exactly as on your own hardware.
1Install Docker with the official script
The convenience script adds Docker's repository and installs Docker Engine and the Compose plugin. Read it first if you prefer.
curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh sudo usermod -aG docker $USER # log out and back in2Run a web server
Publish port 80 for IPv6 visitors, or map one of your forwarded IPv4 ports to it.
docker run -d --name web --restart unless-stopped -p 80:80 -p 30022:80 nginx:stable3Use Compose for real apps
Keep each app in its own folder with a compose.yaml.
mkdir -p ~/apps/uptime && cd ~/apps/uptime cat > compose.yaml <<'EOF' services: kuma: image: louislam/uptime-kuma:1 restart: unless-stopped ports: ["30023:3001"] volumes: ["./data:/app/data"] EOF docker compose up -d4Keep it tidy
Old images use disk space over time.
docker system df docker image prune -f
Remember that published Docker ports bypass UFW rules; bind private services to 127.0.0.1.
Your VPS is a few clicks away
Create it in the VPS panel with your Enzonic account. Refunds within 72 hours of payment.
Deploy a VPS