Commit graph

767 commits

Author SHA1 Message Date
Rajiv Kushwaha
899b42df86 Honor the host specified in current docker context
One can have multiple docker hosts that they manage and can switch
between them using the "docker context" command.
Previously, we used to connect to either the "default docker host" (for
example, unix:///var/run/docker.sock in case of Linux/macOS) or to the
host specified via the "DOCKER_HOST" environment variable.
However, if one switched to a different context, we had no way of detecting
that.

Now, we determine the docker host that we connect to by evaluating the
following sources in decreasing order of precedence:
- value of "DOCKER_HOST" environment variable
- host specified in the context set via the "DOCKER_CONTEXT" environment variable
- "default docker host" as applicable, otherwise

Fixes: #285

Signed-off-by: Rajiv Kushwaha <raj25by10@gmail.com>
2023-08-01 12:27:32 +05:30
Jesse Duffield
e8e808ff47 Set goreleaser version 2023-07-21 19:14:23 +10:00
tiagovla
454eaee2cf
feat: add selectedLineBgColor theme customization (#420) 2023-07-21 18:31:27 +10:00
dependabot[bot]
f0ee38f7f7
Bump github.com/docker/distribution from 2.8.0+incompatible to 2.8.2+incompatible (#448)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 18:30:29 +10:00
Quan Dong
7c074d25f7
feat(i18n): 🌐 Chinese translation (#441)
Co-authored-by: tabris <tabrisdong@gmail.com>
2023-07-21 18:24:47 +10:00
Martin Cross
dffe6970aa
Short status (#419)
Co-authored-by: Martin Cross <martinidc1992@gmail.com>
2023-07-21 18:22:18 +10:00
Rdkang
07f26c1e91
Allow setting default screenMode (#421) 2023-07-21 18:08:21 +10:00
John Chavez
66f5d176d3
Docs: explain go templates in custom commands (#428) 2023-07-21 18:08:06 +10:00
README-bot
ab8d87e6ae Updated README.md 2023-07-21 07:47:13 +00:00
Jesse Duffield
e5ca391291
287 Display hotkeys to detach from the container (#465)
Co-authored-by: glendsoza <glendsouza23@gmail.com>
2023-07-21 17:47:00 +10:00
README-bot
15bc01b9af Updated README.md 2023-05-21 04:07:13 +00:00
Tony Soloveyv
2a9ed70896
Allow to render container stats and configs both in json and yaml (#444) 2023-05-21 14:06:56 +10:00
Dawid Dziurla
fcc0bbe552
Merge pull request #442 from jesseduffield/dawidd6-patch-1
os: fix linter issue
2023-03-29 16:00:06 +02:00
Dawid Dziurla
f93ddeceef
Merge pull request #440 from jesseduffield/dependabot/go_modules/github.com/docker/distribution-2.8.0incompatible
Bump github.com/docker/distribution from 2.7.1+incompatible to 2.8.0+incompatible
2023-03-29 15:57:16 +02:00
Dawid Dziurla
0066c1c76c
os: fix linter issue 2023-03-29 15:55:53 +02:00
Dawid Dziurla
cd11c3e131
Merge pull request #439 from jesseduffield/dependabot/go_modules/github.com/opencontainers/image-spec-1.0.2
Bump github.com/opencontainers/image-spec from 1.0.1 to 1.0.2
2023-03-29 15:49:11 +02:00
README-bot
62095473c0 Updated README.md 2023-03-29 13:48:58 +00:00
Dawid Dziurla
cdd43478e2
Merge pull request #432 from jesseduffield/dependabot/go_modules/github.com/gogo/protobuf-1.3.2
Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2
2023-03-29 15:48:37 +02:00
dependabot[bot]
afacc9be9e
Bump github.com/docker/distribution
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.7.1+incompatible to 2.8.0+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](https://github.com/docker/distribution/compare/v2.7.1...v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/docker/distribution
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 03:36:30 +00:00
dependabot[bot]
3c3c80d570
Bump github.com/opencontainers/image-spec from 1.0.1 to 1.0.2
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/opencontainers/image-spec/releases)
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md)
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 03:36:29 +00:00
README-bot
866bcae509 Updated README.md 2023-03-06 01:36:18 +00:00
Jesse Duffield
966a266c68
Merge pull request #424 from Tony-Sol/master 2023-03-06 12:35:56 +11:00
Tony-Sol
8a095f74b1
regenerate cheatsheets 2023-03-06 02:12:24 +03:00
Tony-Sol
ce95ddea2a
Add networks panel 2023-03-06 01:25:23 +03:00
dependabot[bot]
1746bc07c7
Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases)
- [Commits](https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: github.com/gogo/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 22:43:48 +00: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
README-bot
338b655c0a Updated README.md 2022-12-13 08:23:48 +00:00
Jesse Duffield
6025912336
Merge pull request #387 from gusandrioli/wrap-custom-cmds-on-shell 2022-12-13 19:23:31 +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
README-bot
553b9857cd Updated README.md 2022-11-23 11:22:06 +00:00
Jesse Duffield
d777bfe655
Merge pull request #405 from jesseduffield/tail-logs-configurable 2022-11-23 22:21:52 +11:00
Jesse Duffield
821cd81b72 allow configuring number of logs to tail 2022-11-23 20:58:35 +11:00
README-bot
b8969fd55f Updated README.md 2022-11-15 08:48:31 +00:00
Jesse Duffield
83acb91d83
Merge pull request #401 from jesseduffield/add-dev-container 2022-11-15 19:48:17 +11:00
Jesse Duffield
b0cef73dc1 hide underscores on VSCode integrated terminal while they're glitchy 2022-11-15 19:44:26 +11:00
Jesse Duffield
642abae037 update demo docker compose project 2022-11-15 19:40:26 +11:00
Jesse Duffield
6fbf8c3cc5 add dev-container
allow docker-in-docker
2022-11-15 19:40:26 +11:00
README-bot
530dbbe570 Updated README.md 2022-11-10 09:18:54 +00:00
Jesse Duffield
04cf34383d
Merge pull request #392 from jesseduffield/list-panel-filtering 2022-11-10 20:18:40 +11:00
Jesse Duffield
3e2a3e608a update cheatsheet 2022-11-10 20:13:41 +11:00
Jesse Duffield
b7fea7a44d separate quit and close options 2022-11-10 19:45:32 +11:00
Jesse Duffield
d1ccf11502 small refactor 2022-11-10 19:42:02 +11:00
Jesse Duffield
b0241c79db use context instead of struct channel 2022-11-10 19:38:49 +11:00
Jesse Duffield
7f38cf2ab2 fix some things 2022-11-10 19:27:28 +11:00
Jesse Duffield
52040d1d99 better way of rendering to the main view 2022-11-10 19:14:12 +11:00
Jesse Duffield
5ffbeae3e8 preparing to refactor main render functions 2022-11-09 21:21:36 +11:00
Jesse Duffield
7324254414 better name: GetTableCells 2022-11-09 21:21:36 +11:00
Jesse Duffield
d6ad538426 refactor side list panel some more 2022-11-09 21:21:36 +11:00
Jesse Duffield
02a03ed18d move container stats stuff into presentation layer 2022-11-09 21:21:36 +11:00