Commit graph

255 commits

Author SHA1 Message Date
Charlie Moog
afe3d23cbd
refactor: kill tunnel cmd on Close 2022-01-08 15:09:08 -06: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
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
503bf0c314
Merge pull request #265 from Dwarven/master 2021-11-26 21:49:13 +11:00
Jesse Duffield
4391878bab
Merge pull request #252 from jtraub/browser-services 2021-11-26 21:47:12 +11:00
Jesse Duffield
52fb944bfb refactor 2021-11-26 21:38:52 +11:00
Jesse Duffield
3c9437f801 slightly more responsive 2021-11-26 21:16:47 +11: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
Dwarven YANG
43f83f64ec allow user to configure the gui language 2021-08-30 09:54:55 +08:00
Konstantin Mikhailov
6c27cf3f32 Open service in browser 2021-03-27 07:15:41 +10:00
Mark Kopenga
fb6b73bf5f
Merge pull request #247 from stokito/exec_shell
Exec shell: separate menu item and auto detect shell: bash or sh
2021-03-24 21:38:10 +01:00
Sergey Ponomarev
7ede2f8297 Open in browser
Most containers expose some http port. We can open it in browser.
For simplicity we can just open first container's published port.
2021-03-22 17:43:10 +02:00
Sergey Ponomarev
2688801cbd Separate menu item for Exec shell
Login to container's shell is very popular operation and to make it easier it will be better to make it as a separate menu item with a dedicated hot key.
2020-12-12 18:45:24 +02:00
Sergey Ponomarev
430600063c Exec shell: autodetect container shell
Some containers may have bash installed but some have only basic sh (Ash/Dash).
There is other shells too: ZSh, tsh etc.

We can automatically detect what shell is configured.
See explanation how it works https://github.com/moby/moby/issues/41702
2020-12-12 18:40:31 +02:00
Nick Flueckiger
1bd850df12 Add legacy folder loc change 2020-11-22 15:01:57 +01:00
Tyler Stillwater
6ef3342e96 Logs PrepareForChildren 2020-10-29 09:20:32 -06:00
Jesse Duffield
941c9fff05 couple small fixes 2020-09-23 20:31:21 +10:00
Jesse Duffield
12e486edd8 fix ci errors 2020-09-23 20:19:36 +10:00
Jesse Duffield
1dd0875323 better alignment for health check 2020-09-23 20:16:04 +10:00
Jesse Duffield
386334b1f0
Merge pull request #201 from stirante/health-check
Add health check to container list
2020-09-23 20:15:42 +10:00
Jesse Duffield
6279b416bc remove rollbar 2020-02-02 11:25:11 +11:00
Jesse Duffield
cea67bc570 reduce cpu usage caused by tickers 2020-02-02 11:11:00 +11:00
Jesse Duffield
012f8d6e08 bump gocui 2020-02-02 10:14:44 +11: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
CallanTaylor
58d1eef502 Defer stop ticker 2019-11-19 15:14:49 +13: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
168f63c2d5
Add missing imports 2019-11-11 12:01:08 +01:00
Paul Reichelt
d971621e66
Kill all related processes using windows internals
Use windows kernel32.dll to fetch all related processes.

Inspired by: https://blog.csdn.net/fyxichen/article/details/51857864
2019-11-11 11:38:44 +01:00
Paul Reichelt
bfd3df5354
Move Kill and PrepareForChildren to platform specific implementation 2019-11-11 11:38:43 +01:00
Harry White
b22b4801af Return error with stderr value
To maintain existing behaviour when not capturing stdout and stderr
2019-10-28 22:45:37 +11:00
Harry White
5d5ca0d3c4 Return only stdout from command
docker-compose outputs warning messages to stderr
2019-10-28 22:22:29 +11:00
Sergio
191bf9a3dc
Removed unconditional logging profile 2019-10-23 12:41:46 +03:00
Dawid Dziurla
dc8a624e07
gui: remove duplicate 'c' binding in images panel
closes: #169
2019-09-11 10:16:18 +02:00
Jesse Duffield
54609a5d99
Merge pull request #148 from jesseduffield/147_child_processes
ensure the current task is stopped before exit
2019-09-07 18:08:02 +10:00
Jesse Duffield
3f28a97507 ensure the current task is stopped before exit so we don't have any child orphan processes
use stop mutex
2019-09-07 18:04:49 +10:00
Dawid Dziurla
a14e6400cb
Merge pull request #159 from jesseduffield/fix_returning
Implement PreviousViews stack
2019-09-07 09:07:21 +02:00
Dawid Dziurla
2763336f49
gui: delete comment 2019-09-07 09:04:58 +02:00
Michiel Roos
ea18c1b85f Update keybindings.go (#162)
* Update keybindings.go

Remove duplicate keybinding: volumes - c
2019-09-03 14:34:04 +02:00
Dawid Dziurla
cfd4b7a1cc
gui: improve and fix PreviousViews stack 2019-09-02 16:19:30 +02:00
Dawid Dziurla
f95b49cd6b
gui: actually pop stack and keep it fit 2019-09-02 15:49:13 +02:00
Dawid Dziurla
897d47d0cc
gui: implement PreviousViews stack 2019-08-31 12:02:27 +02: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
Dawid Dziurla
1258471af2
respect DOCKER_HOST 2019-08-25 19:09:24 +02:00
Jesse Duffield
2b6a4b02e5
Merge pull request #150 from Duske/patch-1
fix german notion of volumes
2019-08-14 20:38:01 +10:00
Jesse Duffield
b305558f5e
Merge pull request #145 from anjiawei1991/master
add image to conatiner view.
2019-08-14 20:36:34 +10:00