Install Docker Engine (2024)

This section describes how to install Docker Engine on Linux, also known asDocker CE. Docker Engine is also available for Windows, macOS, and Linux,through Docker Desktop. For instructions on how to install Docker Desktop, see:

Platformx86_64 / amd64arm64 / aarch64arm (32-bit)ppc64les390x
CentOS
Debian
Fedora
Raspberry Pi OS (32-bit)
RHEL (s390x)
SLES
Ubuntu
Binaries

Other Linux distros

Note

While the following instructions may work, Docker doesn't test or verifyinstallation on distro derivatives.

  • If you use Debian derivatives such as "BunsenLabs Linux", "Kali Linux" or"LMDE" (Debian-based Mint) should follow the installation instructions forDebian, substitute the version of your distro for thecorresponding Debian release. Refer to the documentation of your distro to findwhich Debian release corresponds with your derivative version.
  • Likewise, if you use Ubuntu derivatives such as "Kubuntu", "Lubuntu" or "Xubuntu"you should follow the installation instructions forUbuntu,substituting the version of your distro for the corresponding Ubuntu release.Refer to the documentation of your distro to find which Ubuntu releasecorresponds with your derivative version.
  • Some Linux distros provide a package of Docker Engine through theirpackage repositories. These packages are built and maintained by the Linuxdistro's package maintainers and may have differences in configurationor are built from modified source code. Docker isn't involved in releasing thesepackages and you should report any bugs or issues involving these packages toyour Linux distro's issue tracker.

Docker providesbinaries for manual installation of Docker Engine.These binaries are statically linked and you can use them on any Linux distro.

Release channels

Docker Engine has two types of update channels, stable and test:

  • The stable channel gives you the latest versions released for general availability.
  • The test channel gives you pre-release versions that are ready for testing beforegeneral availability.

Use the test channel with caution. Pre-release versions include experimental andearly-access features that are subject to breaking changes.

Docker Engine is an open source project, supported by the Moby project maintainersand community members. Docker doesn't provide support for Docker Engine.Docker provides support for Docker products, including Docker Desktop, which usesDocker Engine as one of its components.

For information about the open source project, refer to theMoby project website.

Upgrade path

Patch releases are always backward compatible with its major and minor version.

Licensing

Docker Engine is licensed under the Apache License, Version 2.0. SeeLICENSE for the fulllicense text.

Reporting security issues

If you discover a security issue, we request that you bring it to our attention immediately.

DO NOT file a public issue. Instead, submit your report privately tosecurity@docker.com.

Security reports are greatly appreciated, and Docker will publicly thank you for it.

After setting up Docker, you can learn the basics withGetting started with Docker.

Install Docker Engine (2024)

FAQs

How much time does it take for Docker engine to start? ›

Enables integrated user interface to view and monitor Docker containers. Quickly starts Docker within ten seconds.

How do I make sure Docker engine is running? ›

The operating-system independent way to check whether Docker is running is to ask Docker, using the docker info command. You can also use operating system utilities, such as sudo systemctl is-active docker or sudo status docker or sudo service docker status , or checking the service status using Windows utilities.

How do I know if Docker is successfully installed? ›

To check if you have Docker installed, run command docker ps or docker info on a terminal screen to verify it is installed and running.

Why is Docker engine not running? ›

Docker can't run correctly if your kernel is older than version 3.10, or if it's missing kernel modules. To check kernel compatibility, you can download and run the check-config.sh script.

Why does Docker engine take so long to start? ›

Check for network issues: Docker may be slow to start if it's having trouble connecting to the internet. Make sure your internet connection is stable, and try disabling any VPN software you have running. Check Docker logs: Docker logs may provide more information about why it's starting slowly.

Will Docker engine remain free? ›

Our Docker Subscription Service Agreement states: Docker Desktop is free for small businesses (fewer than 250 employees AND less than $10 million in annual revenue), personal use, education, and non-commercial open source projects. Otherwise, it requires a paid subscription for professional use.

How do I start and stop my docker engine? ›

Start the daemon manually

You may need to use sudo , depending on your operating system configuration. When you start Docker this way, it runs in the foreground and sends its logs directly to your terminal. To stop Docker when you have started it manually, issue a Ctrl+C in your terminal.

What is the difference between docker desktop and docker engine? ›

Docker Engine is the fundamental containerization engine that runs on servers and manages containers, while Docker Desktop is a developer-focused tool that includes Docker Engine along with additional features to simplify the development and testing of containerized applications on local machines.

Where does docker engine run? ›

The Docker platform runs natively on Linux (on x86-64, ARM and many other CPU architectures) and on Windows (x86-64). Docker Inc. builds products that let you build and run containers on Linux, Windows and macOS.

How to check the Docker engine version? ›

You can check the version of Docker you have installed with the following command from a terminal prompt:
  1. docker --version.
  2. sudo systemctl start docker.
  3. sudo systemctl enable docker.
  4. sudo usermod -a -G docker <username>
  5. docker-compose --version.

How do I start Docker engine in Windows? ›

Install Docker Desktop
  1. Download Docker Desktop and follow the installation instructions.
  2. Once installed, start Docker Desktop from the Windows Start menu, then select the Docker icon from the hidden icons menu of your taskbar. ...
  3. Ensure that "Use the WSL 2 based engine" is checked in Settings > General.
Jan 10, 2024

How to start Docker engine in Ubuntu? ›

Go to https://download.docker.com/linux/ubuntu/dists/ .
  1. Select your Ubuntu version in the list.
  2. Go to pool/stable/ and select the applicable architecture ( amd64 , armhf , arm64 , or s390x ).
  3. Download the following deb files for the Docker Engine, CLI, containerd, and Docker Compose packages: ...
  4. Install the .deb packages.

What is the purpose of Docker engine? ›

The Docker Engine is the underlying technology that handles the tasks and workflows involved in building container-based applications. The engine creates a server-side daemon process that hosts images, containers, networks and storage volumes.

How to install Docker Engine offline? ›

Install Docker offline
  1. Download packages docker-ce , docker-ce-cli and containerd.io from the URL that matches your distribution: Debian 10. Debian 11. Ubuntu 18.04. Ubuntu 20.04. Ubuntu 22.04.
  2. Copy the files to the offline machine.
  3. On the offline machine, install the imported packages: sudo dpkg -i *.deb.

How to reset Docker engine? ›

Procedure
  1. Stop the container(s) using the following command: docker-compose down.
  2. Delete all containers using the following command: docker rm -f $(docker ps -a -q)
  3. Delete all volumes using the following command: docker volume rm $(docker volume ls -q)
  4. Restart the containers using the following command:

What is the Docker container engine runtime? ›

Docker Engine is the industry's de facto container runtime that runs on various Linux (CentOS, Debian, Fedora, RHEL, and Ubuntu) and Windows Server operating systems.

How much time does Docker commit take? ›

2. If I create a 50GB container and try to commit it, it takes 2.5 minutes to create it, but ten minutes to commit it. During that time, a CPU is pegged in the docker process.

Why does Docker stop take so long? ›

There's a timeout, which is 10 seconds by default for each container. If even one of your containers does not respond to SIGTERM signals, Docker will wait for 10 seconds at least. If your containers depend on each other, docker-compose can't shut them down all at once.

Does Docker start automatically? ›

Most ubuntu/linux server images created through docker are able to auto-start the main service but any supportive services that are needed for configuration do not auto-start once installed.

Top Articles
Latest Posts
Article information

Author: Roderick King

Last Updated:

Views: 6669

Rating: 4 / 5 (51 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.