Commit graph

53 commits

Author SHA1 Message Date
Charlie Moog
892fc090b6
set pgid and send kill signal on exit 2021-12-26 09:41:43 -06: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
Dawid Dziurla
bd16a78b06
Merge branch 'docker-sdk-update' 2019-07-08 14:44:51 +02:00
Dowideit, Sven (O&A, St. Lucia)
cdf075b00d Initial working demo
Signed-off-by: Dowideit, Sven (O&A, St. Lucia) <Sven.Dowideit@csiro.au>
2019-07-08 17:01:15 +10:00
Mark Kopenga
0ca9235220
Merge branch 'master' into f110 2019-07-07 14:33:03 +02:00
mjarkk
30a79faa49
Moved the filtering out of containers to the docker.go file 2019-07-07 14:19:35 +02:00
mjarkk
fddbc7cdf8
Removed some lazygit code 2019-07-06 22:27:52 +02:00
mjarkk
b89b02eee5
Added h key binding 2019-07-06 21:20:21 +02:00
Dawid Dziurla
bb319ddb59
adjust code to newer API 2019-07-05 14:18:44 +02: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
3e49e299b9 better support for custom commands 2019-06-10 20:14:44 +10:00
Jesse Duffield
b02c92da33 support running in non-docker-compose context 2019-06-10 19:29:52 +10:00
Jesse Duffield
87c6208577 add volumes panel 2019-06-10 18:08:23 +10:00
Jesse Duffield
84090bcb94 support viewing docker compose config from status panel 2019-06-09 12:50:17 +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
3bcef6d88c support custom container names 2019-06-08 21:44:24 +10:00
Jesse Duffield
a27b429807 allow config option to only show standalone containers 2019-06-08 21:09:53 +10:00
Jesse Duffield
07a01d2511 test 2019-06-07 14:59:31 +10:00
Jesse Duffield
129c9bbe9e type the translations 2019-06-05 22:20:30 +10:00
Jesse Duffield
2f57561c40 more use of waiting statuses 2019-06-03 20:08:42 +10:00
Jesse Duffield
02b735e011 minor fixups 2019-06-02 21:35:03 +10:00
Jesse Duffield
a017067824 allow setting maximum duration on the graph 2019-06-02 21:08:21 +10:00
Jesse Duffield
28b488b740 configurable graphs 2019-06-02 20:18:43 +10:00
Jesse Duffield
5bf1a40d2f more progress 2019-06-02 17:54:59 +10:00
Jesse Duffield
3cfa4a2bda more stuff 2019-06-02 16:28:52 +10:00
Jesse Duffield
159a1883e5 fix this insane CPU usage issue 2019-06-02 13:34:26 +10:00
Jesse Duffield
664058d5f0 make config type safe 2019-06-02 11:37:21 +10:00
Jesse Duffield
fdc36903ac more progress 2019-06-02 01:00:12 +10:00
Jesse Duffield
aa55ff1a8e more progress 2019-06-02 00:28:47 +10:00
Jesse Duffield
e5ccc673d9 more progress 2019-06-01 18:30:55 +10:00
Jesse Duffield
f0ffdcd81f more progress 2019-06-01 16:09:54 +10:00
Jesse Duffield
2e9a80fe6c lots of changes 2019-05-19 12:21:40 +10:00
Jesse Duffield
2f1c246fd7 add image history when listing images 2019-05-19 02:22:07 +10:00
Jesse Duffield
15bd991560 support pruning images 2019-05-19 01:44:52 +10:00
Jesse Duffield
4fe26f4f88 add images panel 2019-05-19 01:00:02 +10:00
Jesse Duffield
cf8e1f0195 support attaching to containers 2019-05-19 00:19:04 +10:00
Jesse Duffield
52ec56289a move model specific code to model file 2019-05-18 22:15:35 +10:00
Jesse Duffield
f06279a5e3 use provided config struct for removing containers 2019-05-18 22:08:12 +10:00
Jesse Duffield
2d858955e6 more progress 2019-05-18 21:58:10 +10:00