Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

The property DOCKER_HOST in docker.environment does not work. #1753

Open
LI-GUOJIE opened this issue Jul 7, 2023 · 0 comments
Open

The property DOCKER_HOST in docker.environment does not work. #1753

LI-GUOJIE opened this issue Jul 7, 2023 · 0 comments

Comments

@LI-GUOJIE
Copy link

Develop on a remote Docker host (the official tutorial link)

However, there is a serious problem in the tutorial, the property "DOCKER_HOST" does not exist:

"docker.environment": {
    "DOCKER_HOST": "ssh://your-remote-user@your-remote-machine-fqdn-or-ip-here"
}

I add a line into my settings.json, and it works!

{
    // It's better to add this line into User's settings.json.
    // How to set an alias name to login SSH server, https://ostechnix.com/how-to-create-ssh-alias-in-linux/
    "docker.host":"ssh://tc"
}

I love this project (It looks like github codespaces), so I create an easier tutorial for myself.

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

1 participant