6 ms·
Lazydocker: a terminal GUI for Docker
- mrtweetyhack 7y agoThat is super!
- jxi 7y agoLooks really nice. For operational-types things, I do wonder if curses UI's are better than web UI's.
- jesseduffield 7y agoThanks :) As for TUIs vs web UIs, I believe so. The closer the UI is to the command line, the shorter the feedback loop and the more options for customisation. I'm someone who struggles to context switch so if I can do something without having to leave my terminal it helps keep me focused
- jek0 7y agoThey're more practical: ssh into the server. start the tool. [do your stuff]... close the tool. close ssh session. With a web UI: ssh into the server. find out you want to check your containers statuses. ssh again while binding some local port to a remote port. start the web UI service. open a browser window. enter the URL. [do your stuff]... close the browser window. go back to the terminal. close the web service. close ssh session.
- zeta0134 7y agoThe WebUI port forwards can be made a bit more tolerable by using LocalForward in your ~/.ssh/config [1] assuming you're okay with the forwards being set up every time you log in. I agree that it's still clunky though; in-terminal tooling is generally preferable. [1]: https://linux.die.net/man/5/ssh_config https://linux.die.net/man/5/ssh_config
- jek0 7y agoI tried that in a different context... The problem if you're managing many servers is that you'll have to setup a different local port for each server. When I needed it, I had to go check the .ssh/config each time to figure out which port was bound for this server. Did not save any time.
- mdaniel 7y agoFWIW `DynamicForward` turns on a SOCKS5 proxy, so a dedicated Firefox profile[0] that has its proxy set to the dynamic forward port will be able to browse as if running on the remote machine. I believe remote DNS resolution, works, too. It still could clash ports if you have the same DynamicForward port for multiple ssh configs, but it can drastically reduce the number of port-collisions 0 = you are of course welcome to try running Chrome with `--proxy-server` et al, but I find Firefox a ton easier to use in that situation
- sphero 7y agoDoesn't have to be that way: I have an alias to a .sh script that launches Portainer (Docker web UI) on the remote host, sets up an SSH tunnel from the remote exposed portainer port to some <local port> and then launches my web browser at localhost:<local port>. Instant remote Docker GUI. Really snappy too. Web doesn't have to be slow and messy if you manage it right. The Portainer UI could use some improvement but that's beside the point
- dionian 7y agodo you mind sharing it?
- zokier 7y agoI really wish there would be some easy way to make browsers talk http over stdin/out of a process. Port forwarding can be so messy, you need to allocate ports and multi-hop forwarding (eg bastion hosts) can be a problem etc.
- mic47 7y agoyes, they are. For operation thing, console > web interface >> gui applications Thou, there is 1 big advantage of web interfaces and that you can send a link to it to other person (that can make it better than console for some things).
- coding123 7y agoWhen did terminals get clickables?
- emilecantin 7y agoIt's been a while, I've been using Vim that way for ~5 years now. It's just less well-known, but it works very well!
- miccah 7y agohtop also has clickable columns
- h1d 7y agotmux tab number can be clicked too.
- emilecantin 7y agoYeah, I actually switched from MacVim + Terminal to iTerm + tmux + terminal VIM once I realized mouse support existed. Bonus is that I can work remotely through SSH with that exact same setup!
- Pokepokalypse 7y agowas there no such thing as kitematic?
- nullwasamistake 7y agoKitematic sucks in every way. I despise it, glad there's something else
- colecut 7y agoThis being terminal based means it can be used easily over ssh.
- RocketSyntax 7y agoI have tried on 3 occasions to get kitematic working locally without success.
- iamjustlooking 7y agoIf you like this you might like Glances. I use it on my home cluster to monitor Docker quickly. You can pull it up in a browser for extra laziness. https://nicolargo.github.io/glances/ https://nicolargo.github.io/glances/
- vbsteven 7y agoThis looks good. I believe there is a lot of room for TUI tools like this. Modern terminals and TUI libraries are advanced enough to support splits, colors, clicks etc. Why run a 600mb electron app when a small TUI app will do just fine. Even if it’s a 30mb jar file that needs the jvm to run. I also believe that constraints boost creativity and the fixed amount of rows/colums in a terminal and limited set of colors is great for that. It’s not because some of these TUIs run full screen that they need to completely drop the unix philosophy. Apps like Mutt, Tig etc frequently delegate to $EDITOR, diff, w3m and others. Some of my favourite TUI apps: * Tmux : windows/panes multiplexer * Tig : git log/status/blame/stage * Mutt : email * Fzf : fuzzy finder * Irssi : IRC
- tuukkah 7y ago> I also believe that constraints boost creativity and the fixed amount of rows/colums in a terminal and limited set of colors is great for that. I agree and it's similar for web vs mobile apps. It would be great to come up with design constraints for web apps, but more like Jupyter where you have a way to mix text and graphics. Perhaps a web framework for creating admin tools that can include graphs?
- VvR-Ox 7y agoYes, +1! I love ncurses and I appreciate every moment I can do my work / some task with a super-fast TUI app instead of using one of these bloated electron-apps or web ui's. I want to add: * newsbeuter (rss aggregator) * nmtui (network manager) BTW I don't think that the constraints you are talking about just have to be constraints - I like to think of them as a measure to standardize software. Also the keybindings play a big role which is another feature of many unix tools I love ('e' for edit and 'q' for quit is just crystal-clear no matter where you come from).
- dmlittle 7y agoNgrok is also great!
- skosch 7y agoAnother favourite of mine is mpsyt – a terminal interface for youtube-dl. I stream music for hours without ever getting ads or even having to have Youtube open in the browser.
- yjftsjthsd-h 7y agoThat is a beautiful logo/icon. Also nice tool; will have to try it out.
- zmmmmm 7y agoany trick to make it look good on a terminal with a light background? not very readable for me.
- jesseduffield 7y agoI've just released a new version which works better with light backgrounds, so feel free to give that a shot and let me know your thoughts :)
- zmmmmm 7y agoThanks! Looks much better :-) One oddity, not sure if I have just not read the docs enough - but if I start it within the directory of a docker-compose project, it comes up completely blank. But running outside that directory shows all my containers / services (including running images inside the docker-compose project).
- nurettin 7y agoI wish gocui had a simpler us-ascii based theme so I wouldn't have to fix utf-8 when connecting to remote in screen.
- sandGorgon 7y agoThere is also Dry - https://moncho.github.io/dry/ https://moncho.github.io/dry/ The best part about dry is using it through docker itself.
- PikachuEXE 7y agoOh thanks for sharing! I found this one more "mature"
- RocketSyntax 7y agoYou may want to add high up the documentation that it works with both regular docker and docker-compose. Without watching the whole video... I would have come away with the impression that it only works with compose.
- Khannan 7y agoThis is fantastic. Thank you! Really well designed and intuitive. It will save me a lot of hassle monitoring containers on servers.
- inetknght 7y agoNice! Now let it use tmux-style navigation commands instead of a friggen mouse and I'd be happy.
- tracker1 7y agoWonder if this will work in the new windows terminal... would be a good test app if it doesn't.
- bbmario 7y agoThis is awesome. I want more.
- alpb 7y ago> Memorising docker commands is hard. I wouldn't agree. Literally: run, build, delete, ps, rm.
- X6S1x6Okd1st 7y agodocker logs --tail 1000 -F container-name is kind of a pain