Jesse Duffield
3c9d134d05
Fix version lock issue
2026-01-17 17:03:34 +11:00
ManManavadaria
43db69da00
Fix panic: validate Names slice length and use containerID as container name if Names slice is empty in container summary
2025-11-27 19:54:53 +05:30
Jesse Duffield
992c138844
Clean up
2025-11-14 20:59:23 +11:00
Md. Asaduzzaman
c8d2fbdfdc
fix: Update Docker client to support API version 1.52
...
- Upgrade Docker client from v27.1.1 to v28.5.2
- Update hardcoded API version from 1.25 to 1.52
- Enable API version negotiation for better compatibility
- Fix compatibility with Docker Engine 29.0.0 and newer versions
Resolves issues with lazydocker not working with latest Docker clients.
2025-11-12 08:49:01 +06:00
Jesse Duffield
df6c8c196e
Use 'docker compose' by default
...
We now fall back to 'docker-compose' if need be
2024-07-21 21:32:03 +10:00
Jesse Duffield
0849b800ff
Merge pull request #561 from thaJeztah/update_docker
...
go.mod: github.com/docker/docker, docker/cli v27.0.3
2024-07-21 20:49:16 +10:00
Jesse Duffield
c73b3f7cc0
Merge pull request #552 from peauc/feature/issue-493
...
fix lazydocker breaking when having default context in config
2024-07-21 20:15:19 +10: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
Clément PÉAU
f6c044d74f
fix lazydocker breaking when having default docker explicitly mentioned in docker config
2024-06-18 23:24:00 +02:00
Jesse Duffield
06ab7b77b1
Merge pull request #511 from rajiv-k/docker-host-ssh
...
fix: Properly support remote docker daemon over ssh
2024-05-30 23:15:50 +10: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
Rajiv Kushwaha
42b7ba18ea
fix: Properly support remote docker daemon over ssh
2024-02-14 14:46:56 +05:30
Jesse Duffield
e860416ee4
Gracefully check for docker config
...
It's fine if the file doesn't exist
2023-10-12 17:42:34 +11:00
Rajiv Kushwaha
d2fa5e9e9c
feat(docker): Honor the host specified in current docker context ( #464 )
2023-10-09 17:13:22 +11:00
Tony-Sol
ce95ddea2a
Add networks panel
2023-03-06 01:25:23 +03:00
Nariyuki Saito
8871edc1a0
use service name as service ID
2022-11-24 00:05:06 +09: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
5aea90c08b
convert containers panel to use new struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
a4b4fee868
convert volumes panel to use new struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
79a58c8d48
convert services panel to use new struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
cb38e48add
create filtered list struct
2022-11-09 21:21:35 +11:00
Jesse Duffield
9ec03eef45
ignore items with configured substrings
2022-10-10 21:00:41 -07: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
b5384d6cdb
retry upon losing connection to docker
2022-05-11 17:06:58 +10:00
Jesse Duffield
6bc57b7628
appease linter
2022-05-09 21:31:24 +10:00
Jesse Duffield
57ac3c409d
kill process directly
2022-05-09 20:23:45 +10:00
Jesse Duffield
9fad29449c
Merge pull request #272 from lpessoa/lp-order-by-status
2022-01-18 12:28:09 +11:00
lpessoa
62eeaac437
Fixed code format issues
2022-01-17 21:24:02 -03:00
lpessoa
cbacd32a68
Changing SortContainersByName to LegacySortContainers
...
LegacySortContainers will default to legacy behaviour.
New behaviour will sort by status followed by name.
2022-01-17 19:58:51 -03:00
lpessoa
0279534811
moved states outside Slice call
2022-01-11 21:10:05 +00:00
Jesse Duffield
e29e110476
refactor and add test
2022-01-09 18:05:58 +11:00
Charlie Moog
afe3d23cbd
refactor: kill tunnel cmd on Close
2022-01-08 15:09:08 -06:00
lpessoa
615ce6536b
adding tests for legacy and new default sort for containers
2022-01-03 22:52:51 +00:00
Charlie Moog
0bd4168dc9
override DOCKER_HOST environment variable directly
...
Rather than only overriding the Go docker client
configuration, we now override the process DOCKER_HOST so
as to properly configure docker-cli child processes.
2021-12-27 23:58:42 -06:00
Charlie Moog
892fc090b6
set pgid and send kill signal on exit
2021-12-26 09:41:43 -06:00
lpessoa
db288a1727
Updated sortedContainer slice ordering
2021-12-10 17:12:52 +00:00
lpessoa
14e6ff1c1f
Use sort containers by state by default
...
Implements #224
Use sort containers by state as default behavior
Legacy sort by name behavior can be set using a user config setting.
`sortContainersByName` is false by default.
2021-12-09 23:18:20 +00:00
Charlie Moog
33e207aeac
Merge branch 'master' into ssh-host
2021-11-26 10:12:18 -06:00
Charlie Moog
a2958c7820
code review changes
2021-11-26 10:10:02 -06:00
Jesse Duffield
9db6eeac9d
do not panic if docker client not running
2021-11-26 20:50:06 +11:00
Charlie Moog
4e201bb8f4
feat: support ssh:// scheme for docker client host
...
Check for the presence of environment variable `DOCKER_HOST`. If nonempty
and of scheme `ssh://`, open an SSH tunnel to the specified remote host,
forwarding the remote docker socket to a local socket in /tmp. Then,
construct the lazydocker client from the local socket.
Example usage: `DOCKER_HOST=ssh://my-server lazydocker`
Fixes #244 , #228 , #255
2021-09-05 19:15:44 -05:00
Jesse Duffield
cea67bc570
reduce cpu usage caused by tickers
2020-02-02 11:11:00 +11:00
Dawid Dziurla
450d163040
commands: pass arguments inline
...
newer Docker releases has Opt struct instead of this func
2019-11-16 13:41:39 +01:00
Dawid Dziurla
1258471af2
respect DOCKER_HOST
2019-08-25 19:09:24 +02:00
Jesse Duffield
4dc8f76083
Merge pull request #107 from jesseduffield/bulk-commands
...
Support bulk commands in each of the panels
2019-07-29 19:01:20 +10:00
Jesse Duffield
bd3ce66234
bump api version so that we can e.g. prune containers via the sdk
...
update api version in readme
2019-07-29 18:59:12 +10:00
Christian Muehlhaeuser
16b3eaedac
Simplified return and bool check code
2019-07-19 04:54:33 +02:00