Skip to content

bug: The Docker quickstart was incorrect and would fail - no --access-url specified and --address was incorrect #3396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/images/quickstart/docker/create-workspace.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/quickstart/docker/ides.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/quickstart/docker/login.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 8 additions & 4 deletions docs/quickstart/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ Coder with Docker has the following advantages:

1. [Install and launch Coder](../install.md)

You may use `CODER_ACCESS_URL=http://localhost:7080` since we're using local
Docker workspaces exclusively. The rest of the guide will assume that this is your
access URL.
You will specify `CODER_ACCESS_URL=http://localhost:7080` since we're using
local Docker workspaces exclusively. `CODER_ACCESS_URL` is the external URL
to access Coder. The rest of the Docker quickstart guide will assume that
this is your Access URL.

You will also specify `CODER_ADDRESS=0.0.0.0:7080` which is the address to
serve the API and dashboard.

```bash
coder server -a $CODER_ACCESS_URL
coder server --address $CODER_ADDRESS --access-url $CODER_ACCESS_URL
```

1. Run `coder login http://localhost:7080` in a new terminal and follow the
Expand Down