Docker Engine runs containers on Linux without a desktop application. For a Mac or Windows computer, use Docker Desktop.
Install
Use Docker's convenience script on a development or test machine running a supported Linux distribution:
$ curl -fsSL https://get.docker.com | sudo sh
The script installs Docker Engine and its dependencies. For production systems, use the package repository instructions for your distribution instead.
Check the installation
Run a test container:
$ sudo docker run hello-world
The container prints a confirmation message when the installation works.
Full installation instructions
For details about the script, see Install using the convenience script.