Skip to main content

Documentation Index

Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt

Use this file to discover all available pages before exploring further.

Docker is a popular containerization platform that allows you to run applications in isolated, portable containers.
Prerequisites
  • A VPS with OnetSolutions running Ubuntu/Debian
  • SSH access to your server
  • Root or sudo privileges

Installation Steps

1

Update package lists

sudo apt update
2

Install dependencies

sudo apt install apt-transport-https ca-certificates curl software-properties-common
3

Add Docker GPG key

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
4

Add Docker repository

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
5

Update package lists again

sudo apt update
6

Install Docker

sudo apt install docker-ce docker-ce-cli containerd.io
7

Start Docker service

sudo systemctl start docker
sudo systemctl enable docker
8

Verify installation

sudo systemctl status docker
You should see “active (running)” in the output.

Post-Installation

Run Docker without sudo

Add your user to the docker group:
sudo usermod -aG docker $USER
Log out and back in for the group changes to take effect.

Test Docker

docker run hello-world
If successful, you’ll see a message confirming Docker is working properly.

Next Steps

Docker Documentation

Official Docker documentation

Docker Hub

Find pre-built Docker images