8 ms·
Lazydocker: a lazier way to manage everything Docker
- jauntywundrkind 3y agoAlso has lazynpm & lazygit, which are similar-at-first-blush TUI (terminal UI) systems. https://github.com/jesseduffield/lazynpm https://github.com/jesseduffield/lazynpm https://github.com/jesseduffield/lazygit https://github.com/jesseduffield/lazygit That ability to navigate & go anywhere (lots of linkability) feels like something the web should be great at. But most interfaces (web or anywhere) tend towards heavy modal behaviors: they only do one thing at a time, have specific navigation affordances to get you to the next view. Having a couple different panes always-onscreen with some dedicated different bits of context in them feels sharp/smart!
- zogrodea 3y agoI don't know if it's helpful to you or anyone else here, but I started recently to mainly navigate the we with Ctrl-F and tab/shift-tab in my browser (Firefox so far but thit works with Chrome too). I find it's more convenient. For example: 1. Open Google in a new private/incognito window. 2. Ctrl-F "accept all" or a substring of that. 3. Press escape. 4. Press tab/shift-tab to find out where you are (Chrome and Firefox would be focused at different but similar places right now) and navigate to the "accept all" button. 5. Enter to accept. You can do the same for links (the Google website is just an example). If you type "json wikipedia" in Google search and press enter to go to the results page, you can: 1. Ctrl-F "json - w" 2. Press escape and then enter to go to the highlighted link (in this case, the Wikipedia article on JSON). I still have to reach for the mouse sometimes, but I find it helpful for reducing reliance on it/context switching and you/others might too.
- arh68 3y agoLike Quick Find? The apostrophe? ' I agree this style of navigation is great. I don't know if it's in Chrome, though.
- mdpm 3y agoTry surfingkeys. You'll likely like it.
- zogrodea 3y agoThanks! It looks interesting. I’ll try it out hopefully. I did try a Vim-style extension out once but don’t remember why I didn’t stick with it.
- EamonnMR 3y agoLazydocker is really nice, used this a lot.
- suralind 3y agoI use lazygit made by the same person and it's great.
- izoow 3y agoAn absolutely amazing tool. Boosted my work productivity immensely. If you don't like the usual graphical git clients, but would like some help with some of the tasks that are tedious with just the cli, definitely give it a try.
- syntaxing 3y agoThis is absolutely amazing. I’ve been using vscode for interactive rebasing but it’s annoying since I have to use the vscode terminal. This looks super useful for work.
- Freedom2 3y agoJust want to appropriate what ziftface said in this comment section. I never really understood the use case for things like this. You can [do what's needed from regular git commands]. So I'm not really sure why you'd need this.
- lgas 3y agoThe replies to ziftface also apply here. You can get from point A to point B by walking, what's the use of bicycles, cars or planes?
- Freedom2 3y agoInteresting. Thanks for that, I usually am pretty charitable with my interpretations of comments - it's curious ziftface didn't consider that.
- rgoulter 3y agoIdeally, you'd achieve as much as you can with minimal interruption to your main workflow. With graphical clients, there's some friction, since you have to open the client to the directory you're in; or these interfaces are designed for use mainly with the mouse. A command line program is right there, especially if you're otherwise using a terminal. -- But, for any commands which require finer things than "add everything", being precise on the command line is generally slow. To get `git show 14feb20`, or `git add path/to/foo.ext`, it can be quite slow to get those precise values, especially if it involves re-entering a value from the output of a previous command. (It will still be slow, even if you're using tab-completion or fzf or copy-pasting). Keyboard-driven interfaces like lazydocker or lazygit avoid those disadvantages.
- deleted 3y ago[deleted]
- swader999 3y agoDoes this mean you don't have to have docker desktop installed?
- PufPufPuf 3y agoDocker Desktop contains both the engine and the GUI and CLI clients. If you want to avoid installing Docker Desktop, you'd have to install the engine some other way -- natively on Linux/WSL, through Colima on Mac/Linux, or perhaps some alternative docker-compatible runtime like Podman. Lazydocker is just a TUI client for working with a Docker engine.
- arjvik 3y agoRancher Desktop is a great way to do this while avoiding the anti-commercial rules of Docker Desktop -- it is fully OSS (Apache 2.0) and comes with the engine (virtualized on both Windows and MacOS), the CLI, and a (unfortunately limited) GUI client.
- dang 3y agoRelated: Lazydocker: The lazier way to manage everything Docker - https://news.ycombinator.com/item?id=29400741 https://news.ycombinator.com/item?id=29400741 - Dec 2021 (17 comments) Lazydocker: a terminal GUI for Docker - https://news.ycombinator.com/item?id=20315973 https://news.ycombinator.com/item?id=20315973 - June 2019 (47 comments)
- nubinetwork 3y agoAnd like 10 other threads
- dang 3y agoOther threads with comments? If so, which ones?
- quickthrower2 3y agoI am an OpenLens fan. Is there an OpenLens-like version of this? Basically full GUI not terminal. I like the terminal for command-line, but not so much for UI stuff.
- ed_mercer 3y agoThere’s a similar tool for Kubernetes called k9s, allowing you to easily see and manage everything in your cluster.
- tomrod 3y agoI don't know how I could use K8s without k9s. Great project.
- stevefan1999 3y agoI use Lens (https://k8slens.dev/ https://k8slens.dev/) but it is dual licensed like VSCode
- davkan 3y agoThere is also OpenLens (https://github.com/MuhammedKalkan/OpenLens https://github.com/MuhammedKalkan/OpenLens). And for anyone switching from Lens, pod shell and logs functionality can be found as an extension.
- selcuka 3y agok9s is great. JetBrains IDEs also come with a really good k8s (and docker) plugin.
- mottiden 3y agoHere is the link of k9s. Great project as well. https://github.com/derailed/k9s https://github.com/derailed/k9s
- zikduruqe 3y agoFor those of us that use Hashistack, there is Damon, which is like k9s. K9s is the only thing that allowed me to suffer using k8s. https://github.com/hashicorp/damon https://github.com/hashicorp/damon
- vbezhenar 3y agoCan you explain why is it useful? I tried kubernetes-dashboard and lens but in the end I've found ordinary kubectl good enough for my needs.
- ziftface 3y agoI never really understood the use case for things like this. You can get the logs with docker-compose logs and you can see what's running with docker ps. So I'm not really sure why you'd need this.
- EamonnMR 3y agoIt lets you quickly tab back and forth between different containers and keeps everything on one screen. You could accomplish the same thing by fiddling in tmux, but this has it all ready to go in one command.
- TheSmiddy 3y agoThe elevator pitch does a pretty good job of explaining the use case imo.
- ziftface 3y agoI read that and even downloaded it and tried it, but like the other commenter said, it's just not for me. I don't see any value added compared to just using the docker-compose and docker commands. I love this developer's other tool, lazygit, which I use every day. And I can see this one is similar quality, even though it doesn't appeal to me personally. Glad it helps some people out though.
- lintimes 3y agoRead the elevator pitch on the repo. https://github.com/jesseduffield/lazydocker#elevator-pitch https://github.com/jesseduffield/lazydocker#elevator-pitch
- xupybd 3y agoI can also create applications with enough nand gates. We develop faster and easier ways to do things to become more productive.
- nonethewiser 3y agoHow is docker-compose logs analogous to nand gates?
- syntaxing 3y agoWhoa super interesting, this might replace most of portainer for me.
- ft_nofan 3y agoThere's a tool called oxker, https://github.com/mrjackwills/oxker https://github.com/mrjackwills/oxker, that I've found works very well. It seems to take up less resources than lazydocker when running on my raspberry pi
- DiggyJohnson 3y agoI unironically use this application in my day job, especially for exec-ing into containers (the ‘E’ shortcut is great).
- deleted 3y ago[deleted]
- xwowsersx 3y agolzd with the logs tailed is what I reach for when I want to seem like an insanely busy genius hacker from one of those movies. Stare at your monitor pensively while you have like 5 services running and people will walk away if they've dared to approach you.
- amake 3y agoHeavy Emacs users may appreciate docker.el, which does a lot of the same things inside Emacs https://github.com/Silex/docker.el https://github.com/Silex/docker.el
- nine_k 3y agoLazydocker opens fewer buffers %) Docker.el would benefit from some more orderly buffer management. At least it would 6 months ago. Pretty helpful otherwise.
- naikrovek 3y ago> fewer Thank you for getting this correct. I have been seeing everyone get this mixed up with "less" lately and it has been driving me insane. it's like almost everyone forgot how to use these words at the same time.
- deleted 3y ago[deleted]
- naikrovek 3y agonot sure why I got downvoted but I shouldn't be surprised. this site is full of toxic, caustic assholes with superiority complexes. the same people who downvoted me for not contributing will comment all day while not contributing anything.
- purgedreality 3y agoI feel like I saw this randomly on a forum years ago and it's just been part of my top 10 toolkit.
- aidomi 3y agoIt's cool watching someone I knew at uni build something that's useful for so many people, especially seeing him pop up on Hacker News from time to time!
- halostatue 3y agoI like lazydocker, but I really wish it understood Docker contexts without having to set `$DOCKER_HOST`. I switch between Colima[0] and OrbStack[1] and have multiple Colima virtualization profiles[2] (one with `vz`, one without), resulting in multiple Docker contexts. I have a function that I’ve written to set docker host, but I have to remember to clear it after I’m done using lazydocker and a couple of other tools (dive, I think). function set-docker-host command -sq docker and command -sq jq or return 1 set -l host ( docker context ls --format '{{ . | json }}' | jq -sr '.[] | select(.Current == true) | .DockerEndpoint' ) or return 1 set -gx DOCKER_HOST $host end The bash/zsh equivalent wouldn't be too hard, but I use fish. [0] https://github.com/abiosoft/colima https://github.com/abiosoft/colima, https://hn.algolia.com/?q=https%3A%2F%2Fgithub.com%2Fabiosoft%2Fcolima https://hn.algolia.com/?q=https%3A%2F%2Fgithub.com%2Fabiosof... [1] https://orbstack.dev https://orbstack.dev [3], https://hn.algolia.com/?q=https%3A%2F%2Forbstack.dev https://hn.algolia.com/?q=https%3A%2F%2Forbstack.dev [2] https://github.com/abiosoft/colima#customizing-the-vm https://github.com/abiosoft/colima#customizing-the-vm and https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#editing-the-config https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#edi... [3] I’m on OrbStack now, but it isn’t so much better at how I use Docker than Colima is that I think that it’s an instant buy, especially with the planned subscription model. If I used anything other than the Docker integration, I might think it's better, but as of right now, no. I also have some issues with its insistence on asking for elevated permissions. I will never grant permission[4] to make a symlink to the "standard" Docker socket; context and `$DOCKER_HOST` work well enough. It should not ask if the permission hasn't been given once. I also worry about other "advanced" features that may need an elevated permissions helper[5]. [4] https://github.com/orbstack/orbstack/issues/281#issuecomment-1556327837 https://github.com/orbstack/orbstack/issues/281#issuecomment... [5] https://github.com/orbstack/orbstack/issues/281#issuecomment-1556919152 https://github.com/orbstack/orbstack/issues/281#issuecomment... and following
- bilekas 3y agoLazy docker have checked out become and on windows at least is far quicker and convenient than the docker desktop client! I've also been using lazgit for a while now mostly for the diffs and merges more so I find interactive commits and some activities with some finer grain control can be a bit flakey though. Really nice work though and happy with it so far!
- chrisweekly 3y ago> "have checked out become" ?
- bilekas 3y agoSorry was on my phone - I have checked it out before*
- KronisLV 3y agoThis does remind me of ctop as well: https://github.com/bcicen/ctop https://github.com/bcicen/ctop It also let's you look at containers, resource usage graphs, their logs and even do some actions through a TUI.
- philipvollet 3y agoUsing it for years and loving it!
- aziis98 3y agoI really like this! This kind of interfaces lets you easily take a glimpse of the system and explore the current state of the system even doing some simple actions. I've been searching for a while for something like this but more oriented at generic server management (maybe more at the systemd level for example). I would like a setup where I ssh into a remote server and get directly this kind of interface with monitoring and all of my services current status. And only if needed by pressing some shortcut get into a shell for doing something more specific
- redog 3y agoJust change your login shell to a script that's a menu. Press 1 for dashboard. Press 2 for shell.
- venv 3y agoAlternatively, run the dashboard script via SSH to get the output ($ ssh "host" "command").
- aziis98 3y agoThanks for the suggestion but the point was that I still haven't found the dashboard program I was talking about. The shortcut to invoke the shell was just a feature I would like to see present in such a program
- pratio 3y agoI've been using LazyDocker everyday for a couple of years now. Absolutely love it. I got used to it instead of going for the docker commands directly.
- deleted 3y ago[deleted]
- bitlad 3y agoThis is like k9s [1] but for docker. [1] https://k9scli.io/ https://k9scli.io/
- zimbatm 3y agoI would love to see something similar for systemd!
- MichaelMoser123 3y agotwo of my projects might be of interest: - https://github.com/MoserMichael/dockerdashphp https://github.com/MoserMichael/dockerdashphp - admin tool for docker with a browser based UI. This tool runs a local web serer in docker container. - https://github.com/MoserMichael/s9k https://github.com/MoserMichael/s9k - admin tool for kubernetes with a brower based UI. This tool runs a local web server in a docker container.
- javier_e06 3y agoNifty. Yep is lazy all right. It works out of the box and let me navigate faster than my crappy bash menu that I use to manage my docker containers. It reminds me of the joke of the cowboy carrying a squirrel. Why do you carry that squirrel? people ask him. He pulls the squirrel out the squirrel and the squirrel would go "tsk tsk tsk" And the horse started walking :)
- undersuit 3y ago>He pulls the squirrel out the squirrel and the squirrel would go "tsk tsk tsk" I sorry, what did he squirrel this squirrel away in?
- krisknez 3y agoIs there a tool like this but to manage docker compose project? I have a folder with many project folders containing docker compose files and I would love to easily run start, stop e.g without constantly running cd
- Chico75 3y agoYou should check out portainer.io