Careeroza
Installing Docker
Install
| OS | How |
|---|---|
| Windows 10/11 | Docker Desktop (uses WSL 2) |
| macOS | Docker Desktop (Intel or Apple silicon) |
| Ubuntu / Debian | Docker Engine from docker.com's apt repository |
# Linux: allow your user to run docker without sudo (log out and in afterwards)
sudo usermod -aG docker $USERVerify the Installation
Example
Check the client and server versions, then run the official test image:
docker version
docker run hello-worldExample output
Client: Version: 27.3.1 Server: Docker Engine - Community Engine: Version: 27.3.1 Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world Status: Downloaded newer image for hello-world:latest Hello from Docker! This message shows that your installation appears to be working correctly.