Installation
Docker has 2 editions you can choose from when installing:
- Docker Engine: The main part of Docker, manageable from the command line (recommended)
- Docker Desktop: A GUI app for managing your Docker environment. Includes Docker Engine.
Docker Engine is recommended mainly because it is easier to use, in my opinion.
If you are a student at SZTE, and you are doing the “Rendszerfejlesztés 2” course in the spring semester of 2023, this is also what I can help with on the course forum.
If you use Docker Desktop, feel free to ask still, I (or someone else) may still be able to help.
A lot of things are the same, but a fundamental change in how it works might make things a bit more difficult to manage.
Last but not least, Docker Engine is open source, while the additions of Docker Desktop are not.
Docker Desktop is expected to also have higher resource usage, as it always runs the containers in a (shared) virtual machine.
Linux
On Linux based systems, it is best to install Docker from the package manager of your distribution, so that its packages get updated along with everything else it depends on.
This means the method depends on which distribution you use.
Generally, it is best to read the official installation instructions (Engine, Desktop), which also cover the system requirements.
For Docker Engine, start from the “Server” heading, as the “Desktop” heading redirects you to Docker Desktop.
Windows
On Windows, installation is done by installing Docker Desktop.
Docker Engine in itself is not available.
It is recommended to read the official installation instructions, which also cover the system requirements, but the above installer should handle everything by itself.
Except one thing.
At installation, you will need to choose between using the WSL2 or the Hyper-V backend. You can switch later on.
You may need to enable the WSL or Hyper-V features manually. If you still have access to the Control Panel, the steps to do so are described here.
Mac
On Mac, installation is done by installing Docker Desktop (x86, ARM (M1)).
Docker Engine is not available in itself.
It is recommended to read the official installation instructions, which also cover the system requirements, but the above installer should handle everything by itself.