In this guide we install Docker Engine on Ubuntu 24.04 and verify that it works.
Requirements
- An Ubuntu 24.04 server
- A user with sudo access
Installation
Update the system
sudo apt update
sudo apt upgrade -y
Install Docker
sudo apt install -y docker.io docker-compose-v2
sudo systemctl enable --now docker
Make sure you take a backup before changing system settings.
Verify the installation
docker --version
docker compose version
Troubleshooting
If you get a permission error, add your user to the docker group and log in again.
Comments 0
No comments yet. Be the first to comment.