-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docker Desktop] Linux Implementation #39
Comments
@grealish thank you for the feature idea! Could you comment on how many of your team members, friends, other developers you know use Linux on their local desktop/remote dev environment? |
How will this be different from plain Docker CE for Linux? |
To throw gas on the fire here, I would say that with the new user experience being moved towards Desktop this becomes more of a requirement than a nice to have. |
Personally, I prefer CLI. Under Linux I use Docker CE. I'm not sure what "Docker Desktop for Linux" will look like, or if anyone will use it. There are some solutions available under Linux
|
Docker started as a powerful tool designed for power-users only, and bring an easier access point on Mac & Win, where some people are less convenient with CLI. There is also less-experimented people on Linux and they are the target of this Desktop Client. As said previously, these users could remote control a Linux desktop to achieve the same goal with the benefits of a Linux environment. |
IMHO the problem is not if alternative exists, they do of course, and are doing a great job. as @ndeloof said on twitter nowadays Docker Desktop doesn't only offer the docker cli and engine, it brings more and more useful features (seamless Kubernetes integration, docker hub integration in the UI, ...). I really think this feature would be a game changer perhaps even a killer feature :) |
Yes exactly, this is why I bring up the need now, when we have training/workshops having a solid and accessible user experience to on-board makes allot of great first impressions, especially getting developer to start working on refactoring there monolith into containers, Nivida for example JetPack SDK manager, this is a ubuntu GUI too to jump start people into the AI development experience and makes one getting setup effortless. |
Docker Desktop on linux may bring a good way to normalized a full update (docker + docker-compose + kubernetes). Moreover, the integration of Kubernetes is really simple and quite good. |
There are a variety of Desktop only features:
The big one for me is a built in kubernetes environment on the desktop without needing kubeadm, kind, k3s, or any of the other more complex solutions. |
Not super-fresh but.. https://www.linuxjournal.com/content/search-gui-docker |
For us, Docker Desktop with UX feature parity on all 3 desktop platforms would give us a consistent platform to help users work on whatever host they're on at the time. We would need to be able to add menu items, and more UX for specific groups. |
We'd get value from docker desktop being ported to Linux. At the moment when we are getting people up to speed we have a constant 'If you're on Windows or Mac, click this, press that.... But if you're on Linux then ....'. Having one straightforward go-to set of instructions would help give us a nice consistent on-boarding process and help dev's and sysadmins share the same knowledge across platforms. |
If you were to believe Stack Overflow Developer Survey 2020, almost 27% developers who responded to the survey use Linux as their primary operating system (almost same as MacOS). |
id love to see docker desktop Linux, but i use the CLI most of the time personally. Its not a deal breaker for me but would love to see it as it gives us on Linux an option and for Docker having 1 unified UI would be easier to manage but we need to be careful and not have poor performance as a result. |
Docker started on Linux, but now the Linux community needs to beg to have Docker tooling on par with Windows and Mac. So sad. |
A few months later... any update? |
Dropping in to add to the request. Dev team of 88 people. |
Just following this thread after the issue on Mac on the 3.2.0 Wanted to say here also that the only thing that retain me to use ubuntu is actually docker desktop that have an AMAZING KUBERNETES INTEGRATION. And i am really not super fond of minikube. We would release a linux version that i would just sell my MAC and go back on my beloved ubuntu. |
I'm just getting started with Docker and, while I love the power and flexibility of the CLI, I don't think it's unreasonable to have a common toolset across all three OS's to help bring new users into the fray. If/when they decide they want to use the CLI, leave that decision up to the individual developer. Cross-platform apps are very common these days, and with frameworks like Electron, there's little excuse to not have all three. |
After 1 year, this is not even on the roadmap??? Not even with a "Investigating" status? |
This never won't be, isn't it? |
It won't be, we are linux user, expected to work on cli. UI is only for Mac/Windows. P.S. Pun Intended |
@therealdandecker thanks for your feedback, docker desktop worked on my Ubuntu 20.04 (Elementary OS 6.1) and by setting the shared memory to 8GB. I can only start it from the terminal command and not from the Applications icon. I have yet to test it in the long run. |
@kmanwar89 Regarding the requirement for DD4L itself, I'm not sure where they can be found. I'll pass this question up at docker. Regarding your 2 scenarios, they actually fail for 2 different reasons: Scenario 1 Ubuntu Desktop 21.10 VM - 8GB RAM:
this stops because the system tells we have only 3957MB free in /dev/shm. According to the log, you have configured 3957MB for DD4L VM RAM as well, but as the check actually wants 100MB more, it fails. What is really strange is how your /dev/shm is 16GB in a machine with only 8GB. By default, /dev/shm should be sized to half the available RAM. Scenario 2 with Ubuntu Desktop 21.10 VM - 16GB RAM:
this is not the same log line. This now says it has 7983MB free in dev/shm, out of which it is going to use 3957MB for the VM RAM. This check is successful, but something else fails later. Unfortunately, we can't see what in the truncated logs. Just as strange, /dev/shm is still 16GB. Kadar-Linux-Desktop is your Ubuntu Desktop 21.10 VM, in which you run DD4L, right? |
Thanks for your response. Re: Scenario 2 - I'm adding in the full logs as an attachment due to the length. The Kadar-Linux-Desktop is my Linux Desktop, which is the host for the VM's, running VMWare Workstation Pro 16. In summary, something is preventing DD4L from working unless/until I set the /dev/shm (and by extension, the allocated RAM through VMWare Workstation) to 16GB. Any other scenario I've tested so far seems to fail. More than happy to continue doing more troubleshooting - perhaps there is something fundamentally that I am missing here? |
Hi @kmanwar89. Thanks for helping to test this.
|
OK, so first regarding the /dev/shm settings: you checked/set it on your host (physical) machine. That machine has 32GB, and the default shm is 16GB, as you reported.
at which point 20 seconds elapse with nothing and then:
nothing from DD4L (I presume it was killed ?), but some interesting logs from the ubuntu VM kernel that suggest some deeper resource issue in that VM.
Also, I don't understand what you mean here. Which /dev/shm are you setting? You seem to say that you have at least one setup that works, but you never mentioned that before... PS: Ahhh, after @aiordache answer, I realize the log you attached are from syslog and do not include DD4L VM process logs. |
I am currently running the tech preview on Manjaro, I know it's not a supported platform. Just wanted to see if maybe there were some ideas here. Manjaro just updated glibc to 2.35 and now the backend no longer starts and just throws a core dump. Prior to the glibc update, DD4L was working perfectly. Really hoping I can get back to using it soon. Thanks for the hard work on making this possible.
|
@therealdandecker For me Docker Desktop hangs in the background and the GUI never shows up, but that's an issue affecting all Electron apps on my laptop running Ubuntu 20.04.4 LTS Also, @p1-0tr just indicated to me over the Docker Community Slack that Docker Desktop requires QEMU 5.2 but Ubuntu |
@wyphan I'm not sure about the reason for the requirement for qemu 5.2. But FYI I run DD4L on qemu 4.2 from 20.04.4 repos and kernel 5.13.0-37 just like you with no issues. However, please note that even if it appears to work, ubuntu 20.04 is not a supported platform. |
@elapuyade the reason for requiring qemu 5.2<= is virtiofs, 4.2 does not officially advertise support for it in changelogs (there is code in 4.2, but a few important fixes are definitely missing). |
gui just reports docker desktop is stopped and all settings are greyed out Ubuntu 22.04 qemu 6.2.0 (Debian 1:6.2+dfsg-2ubuntu5) diagnostics ids ~ ▓▒░ tail -f ~/.docker/desktop/log/host/com.docker.driver.amd64-linux.stderr.log ░▒▓ INT х at 11:00:16 df -h ubuntu 22 with mate desktop on asus pn51 5700u with 64GB |
@patrickhousley @alxxthegeek Thank you for reporting the issues you got. There seems to be an incompatibility between the virtiofsd that Docker Desktop uses and the most recent version of qemu. As DD runs as non-root user, we can't rely on the virtiofsd shipped with qemu as it requires to run as root.
But we can't do filesharing from the host in this case so it is very inconvenient. |
@patrickhousley @alxxthegeek We have a new deb package with a potential fix for your issues: If you've got the time to test it and confirm it works on your machines, that would be great. Thanks in advance! |
It is a good news! |
So far all good with the new deb. |
A few questions, has support for Fedora Workstation / Silverblue been considered? And have you considered the possibility of using our own installation of moby engine instead of using a virtual machine based on linuxkit? |
Are there any intentions of supporting RHEL and RHEL-like distros in the future? |
After that, a good package for Arch Linux!!! yey! |
I'm a scientific Linux user (but fairly non-technical) interested in Docker for reproducibility and potentially to deploy Shiny WebApps for data visualization. I don't have any practical experience using Docker yet. Can any Ubuntu 20.04 testers say whether the current beta .deb is workable/stable enough for a user at my level to try and get my hands dirty with Docker? (or is it best to wait for a later beta or full release, or even use an interim 3rd party gui client). Thank you Devs and Testers! |
The only problem I've hit is trying to get paketo buildpacks to work with docker desktop, they seem to expect docker-ce pack build paketo-demo-app --builder paketobuildpacks/builder:base ░▒▓ 125 х took 33s at 16:19:46 Thats using the demo apps from https://paketo.io/docs/ |
Hi all, given that Docker Desktop for Linux is now available I'm going to close this ticket. If you have any issues or feature requests please do submit them here - https://github.com/docker/desktop-linux/issues. We're actively monitoring that thread and trying to jump on issues as quickly as possible. |
Is RHEL 8/9 on the roadmap? |
Tell us about your request
As there is a Docker Desktop for Windows and OSX, to complete the offer, a Linux build would be great, to complete the offer. As allot of us in the container community know there is allot of tools which basically address some of the same requirements. Non are complete, e.g Take VMware Workstation or player for linux, It was a quick bootstrap and enabled people to jump into the virtualization world quickly. People even installed it on nested VM's (which dev's had root access to) and they could work freely and effectively.
Which service(s) is this request for?
Docker Desktop
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Lower the bar of enabling developer to jump into containers,
Enable that docker desktop can be run on a remote ubuntu / centos system which developers would remote desktop into,
Are you currently working around the issue?
Many tools exist to have a developer workflow on a linux system, both locally and remote, however this require quite some knowledge upfront and not a fluid experience, many tools like, minishit, minikube, kind, and docker-compose and docker-ce sovle part of the developer experience.
Additional context
DRAFT WIP
The text was updated successfully, but these errors were encountered: