Docker installation on Windows Subsystem for Linux¶
To install Docker on [[Windows Subsystem for Linux]] (specifically Ubuntu or similar distributions), the standard approach involves using the official Docker convenience script.^[400-devops__03-Containerization__windows.ubuntu.install.docker.md]
Installation steps¶
The installation process can be completed by executing the following commands in the terminal.^[400-devops__03-Containerization__windows.ubuntu.install.docker.md]
- Download the script: Fetch the installation script using
curl.$ curl -fsSL https://get.docker.com -o get-docker.sh - Run the script: Execute the script with
sudoprivileges.$ sudo sh get-docker.sh - Start the service: Start the Docker daemon.
$ sudo service docker start
Service Management¶
Once installed, the Docker service can be managed using the standard service commands.^[400-devops__03-Containerization__windows.ubuntu.install.docker.md]
- Start the service:
$ sudo service docker start - Stop the service:
$ sudo service docker stop