Technical architectural analysis, practical configuration manifests, and deployment instructions for Docker Desktop Setup & WSL2 Resource Tuning.
docker desktop for Ubuntu Linux
- I wanted to use the
docker initcommand, but the command is implemented based on Docker Desktop. In other words, it is not open source. - It is burdensome to install Docker Desktop on a laptop that travels between work and home
- Install Docker Desktop on the home server (Ubuntu-server 24.04)
Links
Installation
sudo apt install gnome-terminal
wget -O docker-desktop-amd64.deb 'https://desktop.docker.com/linux/main/amd64/docker-desktop-amd64.deb?utm_source=docker&utm_medium=webreferral&utm_campaign=docs-driven-download-linux-amd64'
# chmod 700 docker-desktop-amd64.deb
sudo apt-get install ./docker-desktop-amd64.deb
# ์ค์น์์น: /opt/docker-desktop
N: Download is performed unsandboxed as root as file '/home/mhkim/docker-desktop-amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
The error is displayed at the end, but can be ignored.
Launch
# ๋์ปค๋ฐ์คํฌํ ์์
systemctl --user start docker-desktop
# ์ฌ์์ ํ ์๋ ์คํ ์ค์
systemctl --user enable docker-desktop
# ์๋น์ค ์ํ ํ์ธ
systemctl --user status docker-desktop
About docker CLI
When Docker Desktop starts, it creates a dedicated context that the Docker CLI can use as a target and sets it to the context currently in use. This is to avoid conflicts with the local Docker Engine, which is running on a Linux host and uses the default context. On exit, Docker Desktop resets the current context to the previous context.
The Docker Desktop installer updates Docker Compose and Docker CLI binaries on the host. Install Docker Compose V2 and give users the option to connect to docker-compose from the settings panel. Docker Desktop installs a new Docker CLI binary that includes cloud integration features and .ย Create a symbolic link to the classic Docker CLI at /usr/local/bin/com.docker.cli /usr/local/bin.
After successfully installing Docker Desktop, you can check the versions of these binaries by running the following command.
$ docker compose version
Docker Compose version v2.29.1
$ docker --version
Docker version 27.1.1, build 6312585
$ docker version
Client:
Version: 23.0.5
API version: 1.42
Go version: go1.21.12
<...>
Update
## ์ค์น๋ฐฉ๋ฒ๊ณผ ๋์ผ
sudo apt-get install ./docker-desktop-amd64.deb
UnInstallation
apt uninstall docker-desktop
rm -rf ~/.docker




Leave a Reply