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

[Enhancement]: Support Docker over SSH #614

Closed
phumberdroz opened this issue Nov 9, 2022 · 2 comments
Closed

[Enhancement]: Support Docker over SSH #614

phumberdroz opened this issue Nov 9, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@phumberdroz
Copy link

Proposal

Docker can be used via SSH (DOCKER_HOST=ssh://user@host)

Being able to run testcontainers on a remote host has a lot of benefits for example avoiding running heavy containers on the local machine or not having docker installed at all locally.

I worked on some initial support for this here: main...phumberdroz:testcontainers-go:docker-over-ssh

It is currently blocked by a bug: docker/compose#9448

I am creating this issue mainly to share this and if the Pull request is welcome I will contribute it as soon as it is possible. (There might be the need to upgrade docker compose pkg through)

@phumberdroz phumberdroz added the enhancement New feature or request label Nov 9, 2022
@mdelapenya
Copy link
Member

Hi @phumberdroz , thanks for opening this issue, which it's very similar to what the Java folks already answered here: testcontainers/testcontainers-java#5039.

I recommend you reading it for more context on why we did not allow it for the Java project, which makes us not consider it doable for Go.

Please let us know what you think about it before eventually closing it.

@mdelapenya
Copy link
Member

Closing this issue, as discussed in the Java thread. Please reopen it if you need more from us here.

Thanks!

@mdelapenya mdelapenya closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants