Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hardcoded docker CLI command name for SSH hosts #5626

Open
mattmacleod opened this issue Nov 16, 2024 · 0 comments · May be fixed by #5627
Open

Remove hardcoded docker CLI command name for SSH hosts #5626

mattmacleod opened this issue Nov 16, 2024 · 0 comments · May be fixed by #5627

Comments

@mattmacleod
Copy link

mattmacleod commented Nov 16, 2024

Description

Currently, when connecting to a remote SSH host, the docker binary name is hard-coded.. This means that if the remote host doesn't have a binary named docker in the path, remote SSH support doesn't work.

There are two specific use-cases this makes difficult:

  • Systems where docker isn't in the path for the SSH connection, and
  • Systems where the docker binary has another name.

If this hard-coded default could be overridden, these use-cases could be supported.

Proposal

Introduce the DOCKER_SSH_REMOTE_BINARY environment variable, which will be used in place of the bare docker binary if set. I'll raise a PR for this change then link to it.

Associated PR: #5627

Related

Would resolve #3045

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant