Docker Installation Guide¶
This guide provides instructions for installing Docker on both Linux and Windows systems. Always refer to official documentation for the most accurate and up-to-date instructions. Offline installers are available upon request.
Docker Installation for Linux¶
System Requirements¶
- Supported Distributions: Docker Engine supports a variety of Linux distributions, including Ubuntu, Debian, CentOS, Fedora, and others.
- Docker Version: Docker Engine 26 or higher is recommended for optimal compatibility.
Steps to Install Docker on Linux¶
-
Refer to the Official Documentation:
- Visit the Official Docker Installation Guide for detailed, distribution-specific instructions.
-
Enable and Start Docker:
- Enable Docker to start on boot and start the service:
Bash
sudo systemctl enable docker sudo systemctl start docker
- Enable Docker to start on boot and start the service:
-
Verify Installation:
- Verify that Docker is installed and running:
Bash
docker --version docker run hello-world
- Verify that Docker is installed and running:
Offline Installation¶
For environments without internet access, we can provide offline installers for Docker. Please contact [email protected] to request offline installation packages and instructions.
Verify Docker Installation¶
After installing Docker, ensure that it is correctly set up by performing the following steps:
- Check Docker Version:
-
Run the following command to verify the installed Docker version:
Bashdocker version -
Run a Test Container:
-
Confirm Docker functionality by running the
hello-worldcontainer:Bashdocker run hello-world -
Check Resource Allocation:
- For performance issues, ensure that sufficient resources are allocated in Docker Desktop settings (Windows) or system configurations (Linux).
Important Notes¶
- Always refer to the official Docker documentation for the latest installation instructions:
- Docker Installation Guide
- Docker Desktop for Windows
- Hardware Prerequisites for WSL 2:
- A 64-bit processor with Second Level Address Translation (SLAT) support.
- Hardware virtualization must be enabled in the BIOS.