Commit Graph

80 Commits (e860416ee492584d700ac11524dda9e110ba351b)

Author SHA1 Message Date
Jesse Duffield e860416ee4 Gracefully check for docker config
It's fine if the file doesn't exist
8 months ago
Rajiv Kushwaha d2fa5e9e9c
feat(docker): Honor the host specified in current docker context (#464) 8 months ago
Tony-Sol ce95ddea2a
Add networks panel 1 year ago
Nariyuki Saito 8871edc1a0 use service name as service ID 2 years ago
Jesse Duffield 02a03ed18d move container stats stuff into presentation layer 2 years ago
Jesse Duffield a87b698761 move things into presentation package 2 years ago
Jesse Duffield aab8bcfbcc add deadlock detection for debug mode 2 years ago
Jesse Duffield 5aea90c08b convert containers panel to use new struct 2 years ago
Jesse Duffield a4b4fee868 convert volumes panel to use new struct 2 years ago
Jesse Duffield 79a58c8d48 convert services panel to use new struct 2 years ago
Jesse Duffield cb38e48add create filtered list struct 2 years ago
Jesse Duffield 9ec03eef45 ignore items with configured substrings 2 years ago
Jesse Duffield a100caa0d9 use sdk to inspect containers 2 years ago
Jesse Duffield d27ce19f6c simplify CPU monitoring logic 2 years ago
Jesse Duffield b5384d6cdb retry upon losing connection to docker 2 years ago
Jesse Duffield 6bc57b7628 appease linter 2 years ago
Jesse Duffield 57ac3c409d kill process directly 2 years ago
Jesse Duffield 9fad29449c
Merge pull request #272 from lpessoa/lp-order-by-status 2 years ago
lpessoa 62eeaac437
Fixed code format issues 2 years ago
lpessoa cbacd32a68
Changing SortContainersByName to LegacySortContainers
LegacySortContainers will default to legacy behaviour.
New behaviour will sort by status followed by name.
2 years ago
lpessoa 0279534811
moved states outside Slice call 2 years ago
Jesse Duffield e29e110476 refactor and add test 2 years ago
Charlie Moog afe3d23cbd
refactor: kill tunnel cmd on Close 2 years ago
lpessoa 615ce6536b adding tests for legacy and new default sort for containers 2 years ago
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.
2 years ago
Charlie Moog 892fc090b6
set pgid and send kill signal on exit 2 years ago
lpessoa db288a1727 Updated sortedContainer slice ordering 3 years ago
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.
3 years ago
Charlie Moog 33e207aeac Merge branch 'master' into ssh-host 3 years ago
Charlie Moog a2958c7820 code review changes 3 years ago
Jesse Duffield 9db6eeac9d do not panic if docker client not running 3 years ago
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
3 years ago
Jesse Duffield cea67bc570 reduce cpu usage caused by tickers 4 years ago
Dawid Dziurla 450d163040
commands: pass arguments inline
newer Docker releases has Opt struct instead of this func
5 years ago
Dawid Dziurla 1258471af2
respect DOCKER_HOST 5 years ago
Jesse Duffield 4dc8f76083
Merge pull request #107 from jesseduffield/bulk-commands
Support bulk commands in each of the panels
5 years ago
Jesse Duffield bd3ce66234 bump api version so that we can e.g. prune containers via the sdk
update api version in readme
5 years ago
Christian Muehlhaeuser 16b3eaedac
Simplified return and bool check code 5 years ago
Dawid Dziurla bd16a78b06
Merge branch 'docker-sdk-update' 5 years ago
Dowideit, Sven (O&A, St. Lucia) cdf075b00d Initial working demo
Signed-off-by: Dowideit, Sven (O&A, St. Lucia) <Sven.Dowideit@csiro.au>
5 years ago
Mark Kopenga 0ca9235220
Merge branch 'master' into f110 5 years ago
mjarkk 30a79faa49
Moved the filtering out of containers to the docker.go file 5 years ago
mjarkk fddbc7cdf8
Removed some lazygit code 5 years ago
mjarkk b89b02eee5
Added h key binding 5 years ago
Dawid Dziurla bb319ddb59
adjust code to newer API 5 years ago
Jesse Duffield 4e86732cf2 support custom commands that filter down to service names 5 years ago
Jesse Duffield b9bf469695 use one-off label to determine whether a container is bound to a service 5 years ago
Jesse Duffield 3e49e299b9 better support for custom commands 5 years ago
Jesse Duffield b02c92da33 support running in non-docker-compose context 5 years ago
Jesse Duffield 87c6208577 add volumes panel 5 years ago