Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

env output is not compatible with windows #732

@ahmetb

Description

@ahmetb
C:\Users\ahmetb>docker-machine env docker-vb
export DOCKER_TLS_VERIFY=yes
export DOCKER_CERT_PATH=C:\Users\ahmetb\.docker\machine\machines\docker-vb
export DOCKER_HOST=tcp://192.168.99.100:2376

export wouldn't work on windows cmd.exe/powershell. We must generate the correct output for cmd/ps and must also keep in mind that user might be running on mingw(msys)/cygwin and in that case this output is already valid (except the cert path though). I may fix this some time, not top priority.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions