Skip to content

Failed to download coder agent when running docker #3402

Closed
@andrefmello91

Description

@andrefmello91

After creating a workspace from a container, I'm not able to connect to the workspace from coder.
I'm getting the following error in the container start:

+ :
+ status=
+ command -v curl
+ curl -fsSL --compressed http://host.docker.internal:3000/bin/coder-linux-arm64 -o coder
curl: (7) Failed to connect to host.docker.internal port 3000: No route to host
+ status=7
+ echo error: failed to download coder agent
+ echo        command returned: 7
+ echo Trying again in 30 seconds...
error: failed to download coder agent
       command returned: 7
+ sleep 30
Trying again in 30 seconds...

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