This commit is contained in:
Mike McFetridge
2026-07-20 09:23:17 -04:00
parent c1315882da
commit 72272e4006
3179 changed files with 562960 additions and 14 deletions
@@ -0,0 +1,30 @@
This script is intended as a convenient way to configure docker's package # repositories and to install Docker Engine, This script is not recommended # for production environments. Before running this script, make yourself familiar # with potential risks and limitations, and refer to the installation manual # at https://docs.docker.com/engine/install/ for alternative installation methods.
\# # The script:
\- Requires \`root\` or \`sudo\` privileges to run.
\- Attempts to detect your Linux distribution and version and configure your package management system for you.
\- Doesn't allow you to customize most installation parameters.
\- Installs dependencies and recommendations without asking for confirmation.
\- Installs the latest stable release (by default) of Docker CLI, Docker Engine,  Docker Buildx, Docker Compose, containerd, and runc. When using this script to provision a machine, this may result in unexpected major version upgrades  of these packages. Always test upgrades in a test environment before #   deploying to your production systems.
\- Isn't designed to upgrade an existing Docker installation. When using the script to update an existing installation, dependencies may not be updated to the expected version, resulting in outdated versions.
\# # Source code is available at https://github.com/docker/docker-install/
\# # Usage # ============================================================================== # # 
To install the latest stable versions of Docker CLI, Docker Engine, and their # dependencies:
1\. download the script # #   $ curl -fsSL https://get.docker.com -o install-docker.sh
2\. verify the script's content  $ cat install-docker.sh
3\. run the script with --dry-run to verify the steps it executes $ sh install-docker.sh --dry-run
4\. run the script either as root, or using sudo to perform the installation. $ sudo sh install-docker.sh