Docker hosting
Docker Engine runs applications in containers. On your VPS, separate project services and describe their configuration to make deployments easier to reproduce.
Deploy Docker on a VPSDocker Engine · No licence surcharge for this edition.
What can you do with Docker?
Organise services with Compose
Prepare a testing environment
Choose your VPS resources
The same Cap Connect VPS plans, configured to suit your application.
| Plan | vCPU | RAM | SSD storage | Network / outbound traffic | Monthly price | Order |
|---|---|---|---|---|---|---|
| VPS S | 4 Core | 8 GB | 100 GB SSD | 200 Mbit/s (32 TB Out) | Price 199dhs/ month | Configure VPS S |
| VPS M | 6 Core | 12 GB | 200 GB SSD | 300 Mbit/s (32 TB Out) | Price 360dhs/ month | Configure VPS M |
| VPS L | 8 Core | 24 GB | 300 GB SSD | 600 Mbit/s (32 TB Out) | Price 590dhs/ month | Configure VPS L |
| VPS XL | 12 Core | 48 GB | 400 GB SSD | 800 Mbit/s (32 TB Out) | Price 990dhs/ month | Configure VPS XL |
Which VPS for Docker?
VPS M (12 GB RAM, 200 GB SSD) suits several containers and their volumes. Move to VPS L if you run databases or memory-hungry services.
OPTIONAL ADD-ONAutomatic backupView monthly prices
Prices in dhs per month, in addition to the server price. Select this option when ordering.
- VPS S
- 160.80 dhs / month
- VPS M
- 160.80 dhs / month
- VPS L
- 240.00 dhs / month
- VPS XL
- 321.60 dhs / month
Select the application or licence at checkout. Orders are accepted manually. Learn more
Install Docker step by step
Plan persistent volumes, exposed ports and resource limits. Back up data: recreating a container does not automatically restore its contents.
- Choose Ubuntu 24.04 and update the system.
- Install Docker Engine from the official repository, then Docker Compose.
- Create a non-root user allowed to use Docker.
- Describe your services in a compose file and store data in volumes.
- Add a firewall, an HTTPS reverse proxy and backups of your volumes.
Build your project with Docker
Organise a complete application
A business application may combine a web service, a database and background processing. Docker packages them separately; Compose describes their relationships in a shared configuration. This makes it easier to understand what must start, communicate and retain its data.
Prepare for updates
Keep persistent files in volumes and back up data, not just images. Try new versions in a test environment and prepare a rollback before updating production. Containers share VPS resources, so several active services need to be sized together.
Docker or installing directly on the system
Containers isolate each application and make a deployment reproducible from one server to another. A direct installation is simpler for a single service, but dependencies pile up quickly on the same system.
Questions about Docker
Do I need Docker Desktop?
No. This page concerns Docker Engine on a Linux server. Docker Desktop terms and subscriptions are separate.
Is the VPS preconfigured and backed up?
Options are specified at checkout and automatic backup is optional. See the answers common to VPS applications