Today we are going to start with the installation of Docker and run our first container! This blog post should take you about 10 minutes.
Docker is available for all major platforms, Windows, Mac, and Linux. It even works on Raspberry Pi! Hereβs an overview of the supported operating systems:
Platform | x86_64 / amd64 | arm64 / aarch64 | arm (32-bit) | ppc64le | s390x |
---|---|---|---|---|---|
Debian | β | β | β | β | |
Fedora | β | β | β | ||
Raspberry Pi OS | β | ||||
RHEL | β | β | β | ||
SLES | β | ||||
Ubuntu | β | β | β | β | |
Binaries | β | β | β |
The easiest way to get started is to download the Docker Desktop application from the official website. Docker Desktop includes everything you need to get started with Docker and even comes with a graphical user interface.
I canβt explain it better than the official documentation, so please refer to the official documentation for installation instructions:
Once you have Docker Desktop installed, you can verify the installation by running the following command in your terminal:
docker info
You should get a bunch of information about your Docker installation, this is how it looks on my machine:
To make sure that the installation was successful, we are going to run our first container.
For that, again open your terminal and run the following command:
docker run hello-world
If you see the output above, your Docker installation was successful! π
If not, please comment under this post or reach out to me via mail ([email protected]) and I will help you out!
Whatβs next?
Tomorrow we are going to learn some more basics on what Docker is, in two days we will build our first container! If you want to get a head start, run docker help
and have a look at the different commands that Docker offers.
Until tomorrow, happy coding! π
Jonas