lazydocker icon indicating copy to clipboard operation
lazydocker copied to clipboard

using DOCKER_HOST: ssh tunneled socket never became available

Open snwfdhmp opened this issue 1 year ago • 11 comments

Describe the bug

THE BUG : $ lazydocker 2024/11/16 03:10:19 tunnel ssh docker host: ssh tunneled socket never became available: context deadline exceeded

I'm using DOCKER_HOST="ssh://something"

To Reproduce Create a debian server with docker running Create a debian client with docker client (install docker then systemctl stop docker) Server: systemctl start docker Client: ssh-copy-id to server Client: export DOCKER_HOST="ssh://target" Client: lazydocker

Expected behaviour Start the lazydocker program.

Screenshots

$ lazydocker
2024/11/16 03:10:19 tunnel ssh docker host: ssh tunneled socket never became available: context deadline exceeded

Desktop (please complete the following information):

Client: Linux i3 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux Server: Linux nas 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64 GNU/Linux

Client is "debian12.8 X11 i3wm alacritty tmux docker27.3.1" Server is "debian11.11 no-gui docker27.3.1"

lazydocker is Version: 0.23.3 Date: 2024-05-26T04:20:34Z BuildSource: binaryRelease Commit: 152b36577137fd95f288e12cee5fd6d857a2d101 OS: linux Arch: amd64

snwfdhmp avatar Nov 16 '24 02:11 snwfdhmp

Does e.g. docker images work with that environment variable outside of lazydocker?

mark2185 avatar Nov 16 '24 06:11 mark2185

Yes

Flamefork avatar Nov 25 '24 11:11 Flamefork

Does e.g. docker images work with that environment variable outside of lazydocker?

yes it does

snwfdhmp avatar Nov 28 '24 21:11 snwfdhmp

Having same issue in 0.24.1 of lazydocker and Docker version 27.3.1

davidarny avatar Dec 06 '24 20:12 davidarny

Having the same issue in 0.24.1 of lazydocker and Docker version 27.5.1. Lazydocker only works when the docker context isn't ssh

saguirregaray1 avatar Feb 07 '25 13:02 saguirregaray1

any update on this ?

snwfdhmp avatar Feb 11 '25 15:02 snwfdhmp

Same issue here. Local Docker works, ssh context not :(

zap0xfce2 avatar Feb 16 '25 19:02 zap0xfce2

works again on version 0.24.1

tan-wei-xin-alez avatar Feb 19 '25 16:02 tan-wei-xin-alez

@tan-wei-xin-alez not for me sadly

Image

davidarny avatar Feb 19 '25 18:02 davidarny

Nope, does not work in 0.24.1 under macos for me. The issue still persists.

zap0xfce2 avatar Feb 19 '25 18:02 zap0xfce2

same here with lazydocker 0.24.1/docker 28.0.2:

  • docker CLI works
  • ssh user@remotedocker works
  • DOCKER_HOST=ssh://user@remotedocker lazydocker

rioka avatar Apr 23 '25 19:04 rioka