VPS for Docker
KVM VPS with full root access runs Docker, Docker Compose and Portainer exactly like your own machine — in Mumbai or Delhi.
Recommended starting point
Sizing guide
| Stack | RAM | Plan |
|---|---|---|
| Static site / single API container | 2 GB | Spark X1 |
| App + PostgreSQL/MySQL + Traefik/Nginx | 4 GB | Boost X2 |
| Several apps, Redis, monitoring (Grafana/Prometheus) | 8 GB | Plus X4 |
| Self-hosted GitLab, Elasticsearch, CI runners | 16 GB+ | Power X8 or Dedicated VDS |
Why KVM matters for Docker
Docker needs its own kernel features (cgroups, namespaces, overlayfs). On container-based VPS (OpenVZ/LXC) these are often restricted. HostStack VPS uses full KVM virtualisation, so Docker, Compose, Podman and Kubernetes distributions like k3s work normally.
Install Docker (Ubuntu / Debian)
curl -fsSL https://get.docker.com | sudo sh
sudo usermod -aG docker $USER # log out and back in
docker run --rm hello-world
docker compose versionExample Compose stack
services:
app:
image: ghcr.io/you/app:latest
restart: unless-stopped
env_file: .env
db:
image: postgres:16
restart: unless-stopped
volumes: [dbdata:/var/lib/postgresql/data]
environment: [POSTGRES_PASSWORD_FILE=/run/secrets/pg]
caddy:
image: caddy:2
ports: ["80:80", "443:443"]
volumes: [./Caddyfile:/etc/caddy/Caddyfile]
volumes: { dbdata: {} }Security notes
- Docker’s published ports bypass
ufwrules — bind internal services to127.0.0.1or don’t publish them at all. - Keep images updated (
docker compose pull && docker compose up -d). - Back up named volumes, not just the Compose file.
FAQ
Can I run Kubernetes?
Yes, single-node k3s or MicroK8s runs well on 4 GB+. For multi-node clusters use several VPS on the same location.
Is Portainer supported?
Yes — it’s just another container.
Do I get IPv4?
Yes, one dedicated IPv4 per VPS.
Do I get full root access?
Yes. Linux VPS plans come with full root access over SSH, so you can install any software, change any setting and run your own firewall.
Is DDoS protection included?
Yes. DDoS protection is included with every VPS plan at no extra cost.
Is bandwidth limited?
VPS plans include unmetered bandwidth on a 1 Gbps port, subject to our Fair Usage Policy.
How quickly will my server be ready?
Most orders are set up automatically once payment is confirmed, usually within minutes. Your login details are e-mailed to you and also shown in the Client Area.
Can I upgrade my plan later?
Yes. You can move to a larger plan with more CPU, RAM and storage from the Client Area whenever you need more resources.
HostStack plan prices and specs from our order pages, checked 20 November 2026.