Local Docker Setup
Download and install Docker Desktop.
Alternatively, on Linux you can use the following commands to install Docker Engine. (This will reduce the layers of technical abstraction for running containers, but will not include a GUI application for managing your Docker resources.)
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
# OPTIONAL: Allow user to run Docker without sudo
dockerd-rootless-setuptool.sh install
echo "export PATH=/usr/bin:$PATH" >> ~/.$(basename $SHELL)rc
echo "export DOCKER_HOST=unix:///run/user/1000/docker.sock" >> ~/.$(basename $SHELL)rc
. ~/.$(basename $SHELL)rc
Restart your entire machine to finish initializing Docker.
Download and install Docker Desktop or Colima.
Restart your entire machine to finish initializing Docker.
Download and install Docker Desktop.
Restart your entire machine to finish initializing Docker.
After you have restarted, ensure that “Enable integration with my default WSL distro” is checked in Docker Desktop along with intgration to other distros:
After restarting, verify Docker is running as expected. Run the simple hello-world
Docker container. This should output “Hello from Docker!” as well as some other intro text:
docker run hello-world
Did this documentation help you ?