Skip to content

Bad quotes in command samples #23819

@alexfauquette

Description

@alexfauquette

Is this a docs issue?

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions