Skip to content

Commit ee98ad1

Browse files
docs: address issue #23891 (#23957)
## Summary Fixed Docker Desktop Ubuntu installation commands to use `apt install` instead of `apt-get install` for local .deb files. ## Changes - Changed `apt-get install` to `apt install` in the Install Docker Desktop section - Changed `apt-get install` to `apt install` in the Upgrade Docker Desktop section - Kept `apt-get update` unchanged (works correctly) Fixes #23891 --- 🤖 Generated with [cagent](https://github.com/docker/cagent) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 9c6d4cb commit ee98ad1

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

  • content/manuals/desktop/setup/install/linux

content/manuals/desktop/setup/install/linux/ubuntu.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
2-
description: Learn how to install, launch, and upgrade Docker Desktop on Ubuntu. This
2+
description:
3+
Learn how to install, launch, and upgrade Docker Desktop on Ubuntu. This
34
quick guide will cover prerequisites, installation methods, and more.
4-
keywords: install docker ubuntu, ubuntu install docker, install docker on ubuntu,
5+
keywords:
6+
install docker ubuntu, ubuntu install docker, install docker on ubuntu,
57
docker install ubuntu, how to install docker on ubuntu, ubuntu docker install, docker
68
installation on ubuntu, docker ubuntu install, docker installing ubuntu, installing
79
docker on ubuntu, docker desktop for ubuntu
@@ -10,9 +12,9 @@ linkTitle: Ubuntu
1012
weight: 10
1113
toc_max: 4
1214
aliases:
13-
- /desktop/linux/install/ubuntu/
14-
- /desktop/install/ubuntu/
15-
- /desktop/install/linux/ubuntu/
15+
- /desktop/linux/install/ubuntu/
16+
- /desktop/install/ubuntu/
17+
- /desktop/install/linux/ubuntu/
1618
---
1719

1820
> **Docker Desktop terms**
@@ -47,7 +49,7 @@ Recommended approach to install Docker Desktop on Ubuntu:
4749

4850
```console
4951
$ sudo apt-get update
50-
$ sudo apt-get install ./docker-desktop-amd64.deb
52+
$ sudo apt install ./docker-desktop-amd64.deb
5153
```
5254

5355
> [!NOTE]
@@ -68,7 +70,7 @@ The post-install script:
6870
- Sets the capability on the Docker Desktop binary to map privileged ports and set resource limits.
6971
- Adds a DNS name for Kubernetes to `/etc/hosts`.
7072
- Creates a symlink from `/usr/local/bin/com.docker.cli` to `/usr/bin/docker`.
71-
This is because the classic Docker CLI is installed at `/usr/bin/docker`. The Docker Desktop installer also installs a Docker CLI binary that includes cloud-integration capabilities and is essentially a wrapper for the Compose CLI, at `/usr/local/bin/com.docker.cli`. The symlink ensures that the wrapper can access the classic Docker CLI.
73+
This is because the classic Docker CLI is installed at `/usr/bin/docker`. The Docker Desktop installer also installs a Docker CLI binary that includes cloud-integration capabilities and is essentially a wrapper for the Compose CLI, at `/usr/local/bin/com.docker.cli`. The symlink ensures that the wrapper can access the classic Docker CLI.
7274
7375
## Launch Docker Desktop
7476
@@ -80,7 +82,7 @@ When a new version for Docker Desktop is released, the Docker UI shows a notific
8082
You need to download the new package each time you want to upgrade Docker Desktop and run:
8183
8284
```console
83-
$ sudo apt-get install ./docker-desktop-amd64.deb
85+
$ sudo apt install ./docker-desktop-amd64.deb
8486
```
8587
8688
## Next steps

0 commit comments

Comments
 (0)