- Please use Docker Desktop instead where possible. Docker released the Docker Toolbox project to make it easier for developers who work on Mac and Windows to get started using Docker. In 2016 Docker released Docker Desktop which superseded toolbox and was significantly easier for the majority of users to get started.
- The Docker Desktop installation includes Docker Engine, Docker CLI client, Docker Compose, Notary, Kubernetes, and Credential Helper. Install and run Docker Desktop on Mac Double-click Docker.dmg to open the installer, then drag the Docker icon to the Applications folder.
Index of linux/./ centos/ debian/ fedora/ raspbian/ rhel/ static/ ubuntu/ centos/ debian/ fedora/ raspbian/ rhel/ static/ ubuntu/. Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications.
Install Docker Engine from binaries. Estimated reading time: 5 minutes. Note: You may have been redirected to this page because there is no longer a dynamically-linked Docker package for your Linux distribution.
Estimated reading time: 3 minutes
Docker Desktop for Mac is the Community version of Docker for Mac.You can download Docker Desktop for Mac from Docker Hub.
By downloading Docker Desktop, you agree to the terms of the Docker Software End User License Agreement and the Docker Data Processing Agreement.
System requirements
Your Mac must meet the following requirements to successfully install Docker Desktop:
macOS must be version 10.14 or newer. That is, Mojave, Catalina, or Big Sur. We recommend upgrading to the latest version of macOS.
If you experience any issues after upgrading your macOS to version 10.15, you must install the latest version of Docker Desktop to be compatible with this version of macOS.
Note
Docker supports Docker Desktop on the most recent versions of macOS. That is, the current release of macOS and the previous two releases. As new major versions of macOS are made generally available, Docker stops supporting the oldest version and supports the newest version of macOS (in addition to the previous two releases). Docker Desktop currently supports macOS Mojave, macOS Catalina, and macOS Big Sur.
At least 4 GB of RAM.
VirtualBox prior to version 4.3.30 must not be installed as it is not compatible with Docker Desktop.
Download Docker Ce Ubuntu
What’s included in the installer
The Docker Desktop installation includes Docker Engine, Docker CLI client, Docker Compose, Notary, Kubernetes, and Credential Helper.
Install and run Docker Desktop on Mac
Double-click
Docker.dmg
to open the installer, then drag the Docker icon to the Applications folder.Double-click
Docker.app
in the Applications folder to start Docker. (In the example below, the Applications folder is in “grid” view mode.)The Docker menu in the top status bar indicates that Docker Desktop is running, and accessible from a terminal.
If you’ve just installed the app, Docker Desktop launches the onboarding tutorial. The tutorial includes a simple exercise to build an example Docker image, run it as a container, push and save the image to Docker Hub.
Click the Docker menu () to seePreferences and other options.
Select About Docker to verify that you have the latest version.
Congratulations! You are now successfully running Docker Desktop.
If you would like to rerun the tutorial, go to the Docker Desktop menu and select Learn.
Automatic updates
Starting with Docker Desktop 3.0.0, updates to Docker Desktop will be available automatically as delta updates from the previous version.
When an update is available, Docker Desktop automatically downloads it to your machine and displays an icon to indicate the availability of a newer version. All you need to do now is to click Update and restart from the Docker menu. This installs the latest update and restarts Docker Desktop for the changes to take effect.
Uninstall Docker Desktop
To uninstall Docker Desktop from your Mac:
- From the Docker menu, select Troubleshoot and then select Uninstall.
- Click Uninstall to confirm your selection.
Important
Uninstalling Docker Desktop destroys Docker containers, images, volumes, andother Docker related data local to the machine, and removes the files generatedby the application. Refer to the back up and restore datasection to learn how to preserve important data before uninstalling.
Where to go next
- Getting started provides an overview of Docker Desktop on Mac, basic Docker command examples, how to get help or give feedback, and links to other topics about Docker Desktop on Mac.
- Troubleshooting describes common problems, workarounds, howto run and submit diagnostics, and submit issues.
- FAQs provide answers to frequently asked questions.
- Release notes lists component updates, new features, and improvements associated with Docker Desktop releases.
- Get started with Docker provides a general Docker tutorial.
- Back up and restore data provides instructionson backing up and restoring data related to Docker.
Estimated reading time: 5 minutes
Note: You may have been redirected to this page because there is no longera dynamically-linked Docker package for your Linux distribution.
If you want to try Docker or use it in a testing environment, but you’re not ona supported platform, you can try installing from static binaries. If possible,you should use packages built for your operating system, and use your operatingsystem’s package management system to manage Docker installation and upgrades.Be aware that 32-bit static binary archives do not include the Docker daemon.
Static binaries for the Docker daemon binary are only available for Linux (asdockerd
). Static binaries for the Docker client are available for Linux and macOS (as docker
).
This topic discusses binary installation for both Linux and macOS:
Install daemon and client binaries on Linux
Prerequisites
Before attempting to install Docker from binaries, be sure your host machinemeets the prerequisites:
- A 64-bit installation
- Version 3.10 or higher of the Linux kernel. The latest version of the kernelavailable for your platform is recommended.
iptables
version 1.4 or highergit
version 1.7 or higher- A
ps
executable, usually provided byprocps
or a similar package. - XZ Utils 4.9 or higher
- A properly mounted
cgroupfs
hierarchy; a single, all-encompassingcgroup
mountpoint is not sufficient. See Github issues#2683,#3485,#4568).
Secure your environment as much as possible
OS considerations
Enable SELinux or AppArmor if possible.
It is recommended to use AppArmor or SELinux if your Linux distribution supportseither of the two. This helps improve security and blocks certaintypes of exploits. Review the documentation for your Linux distribution forinstructions for enabling and configuring AppArmor or SELinux.
Security Warning
If either of the security mechanisms is enabled, do not disable it as awork-around to make Docker or its containers run. Instead, configure itcorrectly to fix any problems.
Docker daemon considerations
Enable
seccomp
security profiles if possible. SeeEnablingseccomp
for Docker.Enable user namespaces if possible. See theDaemon user namespace options.
Install static binaries
Download the static binary archive. Go tohttps://download.docker.com/linux/static/stable/(or change
stable
tonightly
ortest
),choose your hardware platform, and download the.tgz
file relating to theversion of Docker Engine you want to install.Extract the archive using the
tar
utility. Thedockerd
anddocker
binaries are extracted.Optional: Move the binaries to a directory on your executable path, suchas
/usr/bin/
. If you skip this step, you must provide the path to theexecutable when you invokedocker
ordockerd
commands.Start the Docker daemon:
If you need to start the daemon with additional options, modify the abovecommand accordingly or create and edit the file
/etc/docker/daemon.json
to add the custom configuration options.Verify that Docker is installed correctly by running the
hello-world
image.This command downloads a test image and runs it in a container. When thecontainer runs, it prints an informational message and exits.
Install client binaries on macOS
The macOS binary includes the Docker client only. It does not include thedockerd
daemon.
Download the static binary archive. Go tohttps://download.docker.com/mac/static/stable/x86_64/,(or change
stable
tonightly
ortest
),and download the.tgz
file relating to the version of Docker Engine you wantto install.Extract the archive using the
tar
utility. Thedocker
binary isextracted.Optional: Move the binary to a directory on your executable path, suchas
/usr/local/bin/
. If you skip this step, you must provide the path to theexecutable when you invokedocker
ordockerd
commands.Verify that Docker is installed correctly by running the
hello-world
image. The value of<hostname>
is a hostname or IP address running theDocker daemon and accessible to the client.This command downloads a test image and runs it in a container. When thecontainer runs, it prints an informational message and exits.
Upgrade static binaries
To upgrade your manual installation of Docker Engine, first stop anydockerd
or dockerd.exe
processes running locally, then follow theregular installation steps to install the new version on top of the existingversion.
Download Docker Ce Rpm For Rhel 7
Next steps
- Continue to Post-installation steps for Linux.
- Take a look at the Get started training modules to learn how to build an image and run it as a containerized application.
- Review the topics in Develop with Docker to learn how to build new applications using Docker.