Jesse Duffield
14cb013f5d
update sponsorship link
2022-05-10 20:47:09 +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
2fe7505ebc
use event channel to reduce CPU usage by a LOT
2022-05-09 20:31:16 +10:00
Jesse Duffield
57ac3c409d
kill process directly
2022-05-09 20:23:45 +10:00
Jesse Duffield
15105d87ff
fix overflow bug
2022-02-02 10:32:13 +11:00
glendsoza
2718749229
Ran gofmt to fix issues with formatting
2022-01-19 17:27:24 +05:30
glendsoza
9a0bbd1e38
Fixed the typo and removed the uncessory comment
2022-01-18 21:42:49 +05:30
glendsoza
ce5e97dd68
Merge branch 'master' of github.com:jesseduffield/lazydocker
2022-01-18 21:38:39 +05:30
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
glendsoza
4d90a0345f
Changes as requested per review
2022-01-17 19:24:32 +05:30
glendsoza
600e4af8e6
Merge branch 'master' of github.com:jesseduffield/lazydocker
2022-01-17 19:13:49 +05:30
Jesse Duffield
c5d90fd09d
fix clicking on item after scrolling
2022-01-17 22:11:36 +11:00
glendsoza
663928e81a
Log the error
2022-01-14 12:56:58 +05:30
glendsoza
32aa08066c
Used RenderTable to dispaly environemnt varialbles also added a check in RenderTable method to make sure code does not panic when empty array is passed
2022-01-14 12:27:30 +05:30
glendsoza
af2eb0bb84
Created a seperate context to display just environment variables in the container panel
2022-01-12 22:39:12 +05:30
Jesse Duffield
a78b5af56b
fix crash
2022-01-12 23:24:15 +11:00
Jesse Duffield
23bb5692e4
appease linter
2022-01-12 23:12:54 +11:00
Jesse Duffield
97772a95d0
remove anonymous reporting prompt because we disabled that globally ages ago
2022-01-12 23:11:03 +11:00
lpessoa
0279534811
moved states outside Slice call
2022-01-11 21:10:05 +00:00
Charlie Moog
7105cc67ae
fix: success case in utils.CloseMany
2022-01-09 10:46:29 -06: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
1681d839fa
Fixing gofmt errors
2021-12-10 16:39:42 +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
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