Commit graph

147 commits

Author SHA1 Message Date
Tony-Sol
ce95ddea2a
Add networks panel 2023-03-06 01:25:23 +03:00
Jesse Duffield
17fcdb2b20
Merge pull request #407 from nakaakist/fix-service-id
Resolves https://github.com/jesseduffield/lazydocker/issues/402
2022-12-13 21:11:53 +11:00
Gustavo Andrioli
d77b895319 Wrap custom commands on shell 2022-12-01 19:04:29 +11:00
Nariyuki Saito
8871edc1a0 use service name as service ID 2022-11-24 00:05:06 +09: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
95cee378cb restore sorting tests 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
158ef68372 convert project panel to use new struct 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
be347a7216 POC filtering on images panel 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
9ec03eef45 ignore items with configured substrings 2022-10-10 21:00:41 -07:00
Jesse Duffield
2f52bd04e6 properly display unforwarded port 2022-10-10 20:10:36 -07:00
Jesse Duffield
195ccf41ce allow upping a service 2022-10-10 19:19:07 -07:00
Jesse Duffield
ec8dfbac06 sort volumes first on whether they have labels and secondly on name 2022-10-10 13:45:25 -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
Miles Liu
d64a92227a
allow user to replace docker repo prefix from image names
Example usage:

```yaml
replacements:
  imageNamePrefixes:
    '123456789012.dkr.ecr.us-east-1.amazonaws.com': '<prod>'
    '923456789999.dkr.ecr.us-east-1.amazonaws.com': '<dev>'
```

Closes #316
2022-09-06 13:43:04 +08:00
Jesse Duffield
ea3c009305 extract process kill logic 2022-06-18 13:33:51 +10: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
2f08e0942a support starting a service 2022-05-11 19:48:11 +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
b5384d6cdb retry upon losing connection to docker 2022-05-11 17:06:58 +10:00
Jesse Duffield
56b3196ef9 sort images by name 2022-05-10 23:02:29 +10:00
Jesse Duffield
afe824a3d6 fix test 2022-05-09 21:37:53 +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
Jesse Duffield
23bb5692e4 appease linter 2022-01-12 23:12:54 +11: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
e585277c89 fixing gofmt errors 2022-01-03 22:55:02 +00: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