Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Docker desktop on Ubuntu?

I am new to Docker/Kubernetes and trying to see if there is a way to get 'Docker Desktop' like functionality on Ubuntu, which is my primary development machine. All I know from my search is that the 'Docker Desktop' is only from Windows and Mac.

It contains many useful tools bundled together as below which is great for someone like me who is new to the ecosystem :

Docker Desktop includes Docker Engine, Docker CLI client, Docker Compose, Notary, Kubernetes, and Credential Helper.

Is there a way to get docker desktop for Linux or is there anything similar?

like image 291
Dhaval D Avatar asked Oct 10 '20 14:10

Dhaval D


People also ask

How to install Docker on Ubuntu?

Now you can install Docker on Ubuntu by entering the following command: sudo apt install docker-ce docker-ce-cli containerd.io uidmap Then add your user account to the docker group using the following command: You can download the latest Docker Desktop package with the following command:

Is Docker Desktop for Linux supported on x86_64 architecture?

Have a 64-bit version of either Ubuntu Jammy Jellyfish 22.04 (LTS) or Ubuntu Impish Indri 21.10. Docker Desktop is supported on x86_64 (or amd64) architecture. Uninstall the tech preview or beta version of Docker Desktop for Linux. Run:

How do I upgrade Docker desktop?

Click the Docker menu () to see Settings and other options. To run the Quick Start Guide on demand, select the Docker menu and then choose Quick Start Guide. Once a new version for Docker Desktop is released, the Docker UI shows a notification. You need to download the new package each time you want to upgrade manually.

What is the context in which Docker desktop runs?

When Docker Desktop starts, it creates a dedicated context that the Docker CLI can use as a target and sets it as the current context in use. This is to avoid a clash with a local Docker Engine that may be running on the Linux host and using the default context. On shutdown, Docker Desktop resets the current context to the previous one.


3 Answers

Currently, docker desktop supported Mac, Windows only.

For ubuntu, you can use Docker Engine with Portainer (Web-based).

Other options:

  • LazyDocker

2022 Update: Docker Desktop for Linux (Tech Preview)

Get more info about it at this issuse It is currently only available as a .deb for Ubuntu 21.04, 21.10 and Debian distributions.

like image 184
huytmb Avatar answered Nov 08 '22 17:11

huytmb


Docker announced in a blog post (16-Sep-2021):

Docker Desktop for Linux will be available to all developers through the free Docker Personal and paid Docker Pro, Team, and Business subscriptions. If you’re interested in early access please sign-up for our developer preview program.

That's good news! While the Desktop features are not really "required" on Linux, I've grown to like the user interface and not needing to behave differently on the Linux platform is very welcome!

like image 38
akauppi Avatar answered Nov 08 '22 18:11

akauppi


Feb. 2022: there is now an official documentation (for what is still a Tech Preview)

Oct. 2022: Docker Desktop 4.12 has been released, and the Linux distribution is no longer a tech preview.

Docker Desktop for Linux

curl https://desktop-stage.docker.com/linux/main/amd64/74134/docker-desktop.deb --output docker-desktop.deb
sudo apt install ./docker-desktop.deb

systemctl --user start docker-desktop
systemctl --user enable docker-desktop

journalctl --user --unit=docker-desktop
like image 32
VonC Avatar answered Nov 08 '22 19:11

VonC