Bad quotes in command samples
Is this a docs issue?
- [x] My issue is about the documentation content or website
Type of issue
Information is incorrect
Description
I was following the blog post https://www.docker.com/blog/how-to-deploy-on-remote-docker-hosts-with-docker-compose/
And the following command when I adapt it with my ssh config, it fails
DOCKER_HOST=“ssh://user@remotehost” docker-compose up -d
Failed to initialize: unable to resolve docker endpoint: invalid bind address format: “ssh://user@remotehost”
After some time debuging, I realised the quotation marks are weird, and removing the one from the copy/past of the docs to put m=normal ones solves the error
DOCKER_HOST="ssh://user@remotehost" docker-compose up -d
Location
https://www.docker.com/blog/how-to-deploy-on-remote-docker-hosts-with-docker-compose/
Suggestion
Please use normal quotes in your blog examples
Thanks for taking the time to report @alexfauquette - let me fwd thid to the blog team
Looks like there's some more occurrences as well; both in example commands and output of commands; at least this one will likely fail as well;
$ docker context create remote ‐‐docker “host=ssh://user@remotemachine”
remote
Successfully created context “remote”
Closing since this is not a docs.docker.com issue and we've let the responsible team know.