Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

How to point duffle on windows to remote docker engine? #873

Open
mrwalters1988 opened this issue Oct 11, 2019 · 1 comment
Open

How to point duffle on windows to remote docker engine? #873

mrwalters1988 opened this issue Oct 11, 2019 · 1 comment

Comments

@mrwalters1988
Copy link

Like the title says, I'm attempting to perform a basic duffle build from the examples, but I'm unsure how to point duffle to a non-local docker engine.

Use case is we'd like to package our deployment and require as little pre-work as possible with as simple of an execution process as we can make it. Having our clients need to install a docker engine to be able to run our package would be a bit much.

@radu-matei
Copy link
Member

I don't have access to a Windows machine right now, but I think you can use the default Docker environment variable DOCKER_HOST to point to the daemon.

set DOCKER_HOST=tcp://<ip-of-docker-daemon>:2376

It is conventional to use port 2375 for un-encrypted, and port 2376 for encrypted communication with the daemon. (see https://docs.docker.com/engine/reference/commandline/cli/)

Let me know if this works for you.

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

No branches or pull requests

2 participants