Install Docker on your VPS
Infraa installs Docker CE on your VPS from Docker's official apt repository — the current release plus the Buildx and Compose plugins, not the older package your distro ships. One approval covers the repository setup, the packages, and the service.
- Versions
- Current Docker CE from Docker's official apt repository, with Buildx and Compose plugins
- Works on
- Ubuntu 22.04 and Ubuntu 24.04
- Package source
- Official Docker repository
What does the Docker install do?
- Adds Docker's official apt repository with its signing key, pinned to your server's architecture and release codename.
- Installs docker-ce, docker-ce-cli, containerd.io, docker-buildx-plugin, and docker-compose-plugin.
- Enables and starts the docker systemd service.
- Optionally adds your login user to the docker group so you can run docker without sudo.
How do I install Docker with Infraa?
Connect your server
Run the Infraa install one-liner (curl install.infraa.sh | sh) on your VPS. The agent registers over an outbound connection in about 30 seconds — no inbound ports, no SSH keys to share.
Pick the service
Choose it from the one-click catalog in the dashboard, or just ask in chat. Infraa turns your request into a concrete, reviewable plan.
Review and approve
Read exactly what will run, then approve. The agent executes only the approved, cryptographically signed steps and streams progress live.
What happens after the install?
Infraa checks the Docker daemon every 60 seconds and can list running containers read-only, so chat answers about your workloads are grounded in live state — without the agent ever holding broad Docker control.
Docker on Infraa — common questions
01Does Infraa install Docker from my distro or from Docker's repository?
From Docker's official apt repository. That gets you current Docker CE plus the Buildx and Compose plugins, instead of the older and sometimes differently-packaged docker.io build distros ship.
02Will installing Docker CE affect containers that are already running?
It can. If your server already runs the distro's docker.io package, switching to Docker CE replaces it and restarts running containers. Infraa shows you the exact plan before anything runs, so you can decide with that in view.
03Can I run docker without sudo afterwards?
Optionally, yes. The install can add your login user to the docker group. It's off by default because docker-group membership is root-equivalent — the install form lets you choose.
Connect a server in 30 seconds, then install Docker from the catalog or just ask in chat.