66 Commits

Author SHA1 Message Date
Jesse Duffield
826f0293f1 Fix types 2025-11-14 21:20:28 +11:00
Sebastiaan van Stijn
0232610967
go.mod: github.com/docker/docker, docker/cli v25.0.5
Update to v25.0, and remove uses of deprecated types.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-15 11:25:11 +02:00
Sebastiaan van Stijn
966ad05338
go.mod: github.com/docker/docker, docker/cli v23.0.10
Update to v23.0, and remove uses of deprecated types.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-15 11:02:03 +02:00
Jesse Duffield
bca15cf6b1 Get container details immediately after getting containers
Previously we separately obtained container details every second,
meaning there was a second of not knowing whether a given container was
using a TTY or not, and that meant we were using the wrong streaming
method for logs, which led to a black screen.
2024-05-26 12:19:17 +10:00
Jesse Duffield
966570ce6c Forward env vars to commands
We want to forward env vars to commands just because it's good practice,
and probably enables things that previously weren't possible.
2023-10-09 22:03:40 +11:00
Jesse Duffield
52040d1d99 better way of rendering to the main view 2022-11-10 19:14:12 +11:00
Jesse Duffield
02a03ed18d move container stats stuff into presentation layer 2022-11-09 21:21:36 +11:00
Jesse Duffield
a87b698761 move things into presentation package 2022-11-09 21:21:36 +11:00
Jesse Duffield
aab8bcfbcc add deadlock detection for debug mode 2022-11-09 21:21:35 +11:00
Jesse Duffield
b6b5373999 fix some glitchiness caused by indeterminate sorting 2022-11-09 21:21:35 +11:00
Jesse Duffield
60df208924 convert menu panel to use new struct 2022-11-09 21:21:35 +11:00
Jesse Duffield
10919b4dfb deterministically display container ports 2022-10-21 13:29:50 -07:00
Jesse Duffield
2f52bd04e6 properly display unforwarded port 2022-10-10 20:10:36 -07:00
Jesse Duffield
a9d1694853 more concise showing of ports 2022-10-09 18:10:45 -07:00
Jesse Duffield
5988ec5745 display ports against container and service 2022-10-09 18:03:57 -07:00
Luka Markušić
badc92f192 Add container pause functionality 2022-05-12 14:01:44 +02:00
Jesse Duffield
d0a53fbe60 use SDK to print container logs to stdout 2022-05-12 19:03:15 +10:00
Jesse Duffield
b4509fb45e add TODO's for using the docker SDK 2022-05-11 19:41:53 +10:00
Jesse Duffield
a100caa0d9 use sdk to inspect containers 2022-05-11 18:22:14 +10:00
Jesse Duffield
d27ce19f6c simplify CPU monitoring logic 2022-05-11 17:49:00 +10:00
Jesse Duffield
6bc57b7628 appease linter 2022-05-09 21:31:24 +10:00
Jesse Duffield
1dd0875323 better alignment for health check 2020-09-23 20:16:04 +10:00
Piotr Brzozowski
6adb04a364 Add changes from suggestions 2020-01-30 18:48:38 +01:00
stirante
0c2edc7c22 Run gofmt on container.go 2020-01-27 12:44:32 +01:00
stirante
305b9630a0 Add health check to container list 2020-01-27 11:53:17 +01:00
skanehira
b1881e6c58 Improve container top
Check container state.
If container is not running then not call top api.
2019-08-26 08:19:03 +09:00
anjiawei
9f50809bcf add image to conatiner view.
Update issue: https://github.com/jesseduffield/lazydocker/issues/144

Co-Authored-By: Jesse Duffield <jessedduffield@gmail.com>
2019-08-06 19:52:06 +08:00
Jesse Duffield
1f9f82601b support bulk commands in each of the panels 2019-07-29 18:59:07 +10:00
Dawid Dziurla
bb319ddb59
adjust code to newer API 2019-07-05 14:18:44 +02:00
Jesse Duffield
bb74edab73 improve readability of colours 2019-07-02 20:40:38 +10:00
Jesse Duffield
5169356454 support light themes in terminals 2019-06-30 19:58:46 +10:00
Jesse Duffield
4e86732cf2 support custom commands that filter down to service names 2019-06-29 21:29:35 +10:00
Jesse Duffield
b9bf469695 use one-off label to determine whether a container is bound to a service 2019-06-23 21:15:49 +10:00
Jesse Duffield
8242bd279a show ports at top of container config 2019-06-23 19:39:45 +10:00
Jesse Duffield
e361a42995 update config docs 2019-06-23 15:34:14 +10:00
Jesse Duffield
ee688746f0 more 2019-06-23 12:27:31 +10:00
Jesse Duffield
014dce909c no more separate code paths for tty container logs 2019-06-23 08:11:16 +10:00
Jesse Duffield
00f05ae012 fixup inspect container struct 2019-06-22 14:29:13 +10:00
Jesse Duffield
5ab4ef6f8c support docker daemon going down randomly 2019-06-16 12:37:47 +10:00
Jesse Duffield
344c72f91a allow showing TOP of a container/service 2019-06-15 14:31:49 +10:00
Jesse Duffield
3e49e299b9 better support for custom commands 2019-06-10 20:14:44 +10:00
Jesse Duffield
87c6208577 add volumes panel 2019-06-10 18:08:23 +10:00
Jesse Duffield
d81c407dd2 allow for viewing logs in both status and containers panel 2019-06-09 12:24:22 +10:00
Jesse Duffield
5d55939719 clean some things up 2019-06-09 10:03:04 +10:00
Jesse Duffield
b65df625f4 much more stuff 2019-06-09 00:08:22 +10:00
Jesse Duffield
3bcef6d88c support custom container names 2019-06-08 21:44:24 +10:00
Jesse Duffield
71f05ff80a more 2019-06-08 13:42:18 +10:00
Jesse Duffield
7e45881dc3 a lot of change 2019-06-08 13:00:37 +10:00
Jesse Duffield
113abbf59b remove log 2019-06-03 20:09:26 +10:00
Jesse Duffield
02b735e011 minor fixups 2019-06-02 21:35:03 +10:00