Jesse Duffield
ae240021c1
ensure we never delete views
2 years ago
Jesse Duffield
badc43b225
allow changing window size
2 years ago
Jesse Duffield
270c9de796
Merge pull request #352 from rmtsrc/master
2 years ago
Jesse Duffield
2db5aa5ce9
Merge pull request #366 from miles170/master
2 years ago
Jesse Duffield
9c40237fae
Update pkg/config/app_config.go
2 years ago
Jesse Duffield
d556ce534a
Merge pull request #367 from blennster/master
2 years ago
Jesse Duffield
cd791e576f
appease linter
...
see if this works
2 years ago
blennster
7e9bde0f41
add tab and backtab navigation
2 years ago
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
2 years ago
KOLOSSA Tilman
49dd19b01c
fixed faulty auto-formatting
2 years ago
KOLOSSA Tilman
e93cadf1d6
changed "white" colors to "default" to work in both light and dark terminals
2 years ago
rmt/src
3c607534d1
Include image name on config tab
2 years ago
Jesse Duffield
ea3c009305
extract process kill logic
2 years ago
Jesse Duffield
14af9f4547
exec shell handler for services panel
2 years ago
Luka Markušić
a03f550535
Refactor pausing a bit
2 years ago
Luka Markušić
0ced576d9c
Add services pause functionality
2 years ago
Luka Markušić
badc92f192
Add container pause functionality
2 years ago
Jesse Duffield
d0a53fbe60
use SDK to print container logs to stdout
2 years ago
Jesse Duffield
d940f2e7ab
honour context being done
2 years ago
Jesse Duffield
8319aed87c
deal with TTY containers gracefully
2 years ago
Jesse Duffield
86de6c09bd
default to wrapping main panel
2 years ago
Jesse Duffield
2f08e0942a
support starting a service
2 years ago
Jesse Duffield
b4509fb45e
add TODO's for using the docker SDK
2 years ago
Jesse Duffield
62be3d9924
allow forcing an image removal
2 years ago
Jesse Duffield
d3e84881bb
remove custom command from default config given that it is now inbuilt
2 years ago
Jesse Duffield
cd96b20bb2
default to no timestamps in logs
2 years ago
Jesse Duffield
0b7017150c
use sdk to obtain container logs
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
75ed6b12e5
refresh images upon receiving an event
2 years ago
Jesse Duffield
56b3196ef9
sort images by name
2 years ago
Jesse Duffield
ac1e47766a
ensure we refresh after hiding stopped containers
2 years ago
Jesse Duffield
d8777b7a59
update gocui
2 years ago
Jesse Duffield
052c2ec1d1
appease linter
2 years ago
Jesse Duffield
e68554cee9
use go's own git version info
2 years ago
Jesse Duffield
14cb013f5d
update sponsorship link
2 years ago
Jesse Duffield
afe824a3d6
fix test
2 years ago
Jesse Duffield
6bc57b7628
appease linter
2 years ago
Jesse Duffield
2fe7505ebc
use event channel to reduce CPU usage by a LOT
2 years ago
Jesse Duffield
57ac3c409d
kill process directly
2 years ago
Jesse Duffield
15105d87ff
fix overflow bug
2 years ago
glendsoza
2718749229
Ran gofmt to fix issues with formatting
2 years ago
glendsoza
9a0bbd1e38
Fixed the typo and removed the uncessory comment
2 years ago
glendsoza
ce5e97dd68
Merge branch 'master' of github.com:jesseduffield/lazydocker
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
glendsoza
4d90a0345f
Changes as requested per review
2 years ago
glendsoza
600e4af8e6
Merge branch 'master' of github.com:jesseduffield/lazydocker
2 years ago
Jesse Duffield
c5d90fd09d
fix clicking on item after scrolling
2 years ago
glendsoza
663928e81a
Log the error
2 years ago
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
2 years ago
glendsoza
af2eb0bb84
Created a seperate context to display just environment variables in the container panel
2 years ago
Jesse Duffield
a78b5af56b
fix crash
2 years ago
Jesse Duffield
23bb5692e4
appease linter
2 years ago
Jesse Duffield
97772a95d0
remove anonymous reporting prompt because we disabled that globally ages ago
2 years ago
lpessoa
0279534811
moved states outside Slice call
2 years ago
Charlie Moog
7105cc67ae
fix: success case in utils.CloseMany
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
e585277c89
fixing gofmt errors
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
1681d839fa
Fixing gofmt errors
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
503bf0c314
Merge pull request #265 from Dwarven/master
3 years ago
Jesse Duffield
4391878bab
Merge pull request #252 from jtraub/browser-services
3 years ago
Jesse Duffield
52fb944bfb
refactor
3 years ago
Jesse Duffield
3c9437f801
slightly more responsive
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
Dwarven YANG
43f83f64ec
allow user to configure the gui language
3 years ago
Konstantin Mikhailov
6c27cf3f32
Open service in browser
3 years ago
Mark Kopenga
fb6b73bf5f
Merge pull request #247 from stokito/exec_shell
...
Exec shell: separate menu item and auto detect shell: bash or sh
3 years ago
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.
3 years ago
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.
4 years ago
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
4 years ago
Nick Flueckiger
1bd850df12
Add legacy folder loc change
4 years ago
Tyler Stillwater
6ef3342e96
Logs PrepareForChildren
4 years ago
Jesse Duffield
941c9fff05
couple small fixes
4 years ago
Jesse Duffield
12e486edd8
fix ci errors
4 years ago
Jesse Duffield
1dd0875323
better alignment for health check
4 years ago
Jesse Duffield
386334b1f0
Merge pull request #201 from stirante/health-check
...
Add health check to container list
4 years ago
Jesse Duffield
6279b416bc
remove rollbar
4 years ago
Jesse Duffield
cea67bc570
reduce cpu usage caused by tickers
4 years ago
Jesse Duffield
012f8d6e08
bump gocui
4 years ago
Piotr Brzozowski
6adb04a364
Add changes from suggestions
4 years ago
stirante
0c2edc7c22
Run gofmt on container.go
4 years ago
stirante
305b9630a0
Add health check to container list
4 years ago
CallanTaylor
58d1eef502
Defer stop ticker
5 years ago
Dawid Dziurla
450d163040
commands: pass arguments inline
...
newer Docker releases has Opt struct instead of this func
5 years ago
Dawid Dziurla
168f63c2d5
Add missing imports
5 years ago
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
5 years ago
Paul Reichelt
bfd3df5354
Move Kill and PrepareForChildren to platform specific implementation
5 years ago
Harry White
b22b4801af
Return error with stderr value
...
To maintain existing behaviour when not capturing stdout and stderr
5 years ago
Harry White
5d5ca0d3c4
Return only stdout from command
...
docker-compose outputs warning messages to stderr
5 years ago
Sergio
191bf9a3dc
Removed unconditional logging profile
5 years ago
Dawid Dziurla
dc8a624e07
gui: remove duplicate 'c' binding in images panel
...
closes : #169
5 years ago
Jesse Duffield
54609a5d99
Merge pull request #148 from jesseduffield/147_child_processes
...
ensure the current task is stopped before exit
5 years ago
Jesse Duffield
3f28a97507
ensure the current task is stopped before exit so we don't have any child orphan processes
...
use stop mutex
5 years ago
Dawid Dziurla
a14e6400cb
Merge pull request #159 from jesseduffield/fix_returning
...
Implement PreviousViews stack
5 years ago
Dawid Dziurla
2763336f49
gui: delete comment
5 years ago
Michiel Roos
ea18c1b85f
Update keybindings.go ( #162 )
...
* Update keybindings.go
Remove duplicate keybinding: volumes - c
5 years ago
Dawid Dziurla
cfd4b7a1cc
gui: improve and fix PreviousViews stack
5 years ago
Dawid Dziurla
f95b49cd6b
gui: actually pop stack and keep it fit
5 years ago
Dawid Dziurla
897d47d0cc
gui: implement PreviousViews stack
5 years ago
skanehira
b1881e6c58
Improve container top
...
Check container state.
If container is not running then not call top api.
5 years ago
Dawid Dziurla
1258471af2
respect DOCKER_HOST
5 years ago
Jesse Duffield
2b6a4b02e5
Merge pull request #150 from Duske/patch-1
...
fix german notion of volumes
5 years ago
Jesse Duffield
b305558f5e
Merge pull request #145 from anjiawei1991/master
...
add image to conatiner view.
5 years ago
Jesse Duffield
6ebddea76e
Merge pull request #130 from winhung/limit-scrolling
...
scrolling does not go beyond the displayed text #31
5 years ago
Dustin
42c428771a
fix german notion of volumes
...
Afaik, `Volumen` is not the common notion for docker volumes. Simply using `Volumes` is better.
5 years ago
winhung
4e25f78507
scrollDownMain now works properly with ScrollPastBottom enabled #31
5 years ago
anjiawei
9f50809bcf
add image to conatiner view.
...
Update issue: https://github.com/jesseduffield/lazydocker/issues/144
Co-Authored-By: Jesse Duffield <jessedduffield@gmail.com>
5 years ago
winhung
b899796a52
removed scrollCount #31
5 years ago
winhung
082034d345
used ViewLinesHeight for scrolling down function #31
5 years ago
winhung
07bfb9255e
implemented review comments by adding improved scrolling checking #31
5 years ago
Pieter van de Bruggen
b5df76187b
InternalFunction is not serializable to YAML
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
Jesse Duffield
1f9f82601b
support bulk commands in each of the panels
5 years ago
Jesse Duffield
64863adc2b
Merge pull request #127 from mjarkk/origin/f115
...
Allow user setting the pull interval
5 years ago
mjarkk
5b3cdcd0aa
Fixed sugestion from jesse
5 years ago
winhung
42e69ac821
added test to increase coverage #31
5 years ago
winhung
4de994e030
scrolling does not go beyond the displayed text #31
5 years ago
Dawid Dziurla
a7ccf40d3f
Merge branch 'reworking-dockerfile'
5 years ago
Dawid Dziurla
0c82a7089c
Merge pull request #132 from muesli/gocritic-fixes
...
Simplified code a bit
5 years ago
Dawid Dziurla
3197f28e94
Merge pull request #133 from muesli/unconvert-fixes
...
Removed unnecessary string conversion
5 years ago
Christian Muehlhaeuser
08861a53bf
Removed unnecessary string conversion
...
`s.expected` is already a string.
5 years ago
Christian Muehlhaeuser
78d7fda9ec
Simplified code a bit
5 years ago
Christian Muehlhaeuser
16b3eaedac
Simplified return and bool check code
5 years ago
Dawid Dziurla
2b3d380d10
config: use xdg package instead of configdir
5 years ago
Stefan Wendhausen
4b727fc24a
Update german.go
5 years ago
Stefan Wendhausen
9a558edf3b
typos and sentence structure
...
Corrected some typos and improved sentence structure
5 years ago
mjarkk
63b1d871c5
Changed the sugestions
5 years ago
Jesse Duffield
7c87c21fa0
show y/n options on confirmation panels
5 years ago
mjarkk
fd4d4a1dc6
Made the information pulling time dynamic
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
mjarkk
209456fdcd
Changed the keybinding to e
5 years ago
Mark Kopenga
9bbd513a72
Update pkg/i18n/english.go
...
Co-Authored-By: Jesse Duffield <jessedduffield@gmail.com>
5 years ago
Mark Kopenga
0ca9235220
Merge branch 'master' into f110
5 years ago
mjarkk
401c6a39ed
Updated the keybindings
5 years ago
mjarkk
30a79faa49
Moved the filtering out of containers to the docker.go file
5 years ago
Jesse Duffield
a46074c581
Merge pull request #108 from jesseduffield/see-required-translations
...
add get_required_translations.go
5 years ago