How to install Docker on Linux

Installation For the most default installation, you can use the official Docker installation script. This script will add the Docker repository to your system and install the latest version of Docker. Notice that the scripts are not recommended for production environments. curl -fsSL https://get.docker.com | sudo sh Rootless Installation Rootless Installation requires a few more steps than the default installation. Enable lingering for your user: sudo loginctl enable-linger $USER Set XDG_RUNTIME_DIR variable to avoid systemd issues:...

June 18, 2024 · 2 min