3 ms·
Give me an open source version of this program that runs in CLI and we’ll talk. I think it’s insane that a dev tool in this (low level) category and with this l
by user3939382 4y ago
Give me an open source version of this program that runs in CLI and we’ll talk. I think it’s insane that a dev tool in this (low level) category and with this level of popularity is not only closed source but also GUI. I can’t think of any other major tool with those characteristics.
I’m on the fence about WASM. The capabilities are impressive, but webpacked JS already nips at the paradigm we had where users could see a legible version of website code running on their computer and WASM makes the problem worse.
- anentropic 4y agoDocker runs on the CLI, all the examples in the link are from the CLI
- user3939382 4y agoThere is no CLI version of Docker Desktop https://www.docker.com/products/docker-desktop/ https://www.docker.com/products/docker-desktop/ Once this GUI app is running, you can interact with it via CLI.
- sebazzz 4y agoWhat you are saying is that de daemon isn't a separate service but only runs as part of the GUI. Also on *nix the Docker CLI talks to the daemon. The difference is how the daemon is hosted.
- anentropic 4y agoOh, hmm, it has been like that for a while - I remember when there was no Docker Desktop and you just installed the cli It seems like it may still be possible, albeit a bit more fiddly work: https://medium.com/crowdbotics/a-complete-one-by-one-guide-to-install-docker-on-your-mac-os-using-homebrew-e818eb4cfc3 https://medium.com/crowdbotics/a-complete-one-by-one-guide-t...
- l3uwin 4y agoOnly on Mac and windows since they require a Linux VM. On (Ubuntu 22.04 lts server for example) you can still just apt-get install docker.io, add your user to the docker group and call it a day. If you just want to replace the desktop management portion you can look into https://podman-desktop.io/ https://podman-desktop.io/ Or even https://multipass.run/ https://multipass.run/ Both will get you to a docker host from the desktop.
- hiccuphippo 4y agoThis seems to be using WasmEdge underneath to run the wasm and docker for managing it so you could skip the middleman and run WasmEdge directly.
- nunez 4y agoYou can absolutely install the wasm shim without Desktop. (They won't tell you that because Desktop is a revenue stream for Mirantis.) In your VM or WSL instance that's running Docker, get the shim from here: https://github.com/deislabs/containerd-wasm-shims https://github.com/deislabs/containerd-wasm-shims (You might need to build it yourself) Then specify the --runtime and --platform arguments like instructed in the doc, but with a slight modification: --runtime=containerd-wasm-shim=/path/to/containerd/wasm/shim This works because most container runtimes are self-contained Go binaries. Haven't used the wasm runtime yet, so not sure if that is true for this runtime as well.
- jsmith45 4y agoIf one wants to use exactly the same command line, then one could compile https://github.com/second-state/runwasi https://github.com/second-state/runwasi, and place the compiled shim in the correct path. The difference vs deislabs shims you linked or vs the containerd/runwasi (formerly deislabs/runwasi) is the exact wasm runtime used. secondstate (that Docker Desktop includes) uses WasmEdge, containerd/runwasi uses wasmtime, and deislabs/containerd-wasm-shims uses Fermyon Spin or SpiderLighting depending on which shim you use.
- satvikpendem 4y agoPodman?
- KronisLV 4y agoPodman also has an open-source GUI project called Podman Desktop going on, in addition to their CLI: https://podman-desktop.io/ https://podman-desktop.io/ Oh and in the same space there is Rancher Desktop as well (which has the excellent K3s under the hood): https://rancherdesktop.io/ https://rancherdesktop.io/ Personally, I'll probably keep using Docker Desktop on some platforms anyways as long as there won't be licensing issues, because it's just so boring and (mostly) stable at this point.