Help Request: First Time Install on Windows for Tutorial

Hi All,
Please feel free to redirect me if I’m posting in the wrong place.

I’m trying to walk through the intro to install using Docker on Windows. I used the default Docker install so assume it is not trying to run a “windows docker” container.

When I get to Step 3.2 in dgraph get started and try to run docker-compose (in powershell with elevated privileges I get the following:

docker-compose up -d
Pulling zero (dgraph/dgraph:latest)…
ERROR: Get unauthorized: incorrect username

I looked in the yml and didn’t see any obvious place to provide credentials. Wasn’t sure what credentials I’d supply :slight_smile:

Any help or ideas? Real goal is to just start learning dgraph and stuck on Windows for now but happy to run a 'nix vm if that helps somehow. My docker install on Windows seems to be working otherwise because I can “containerize” core applications in Visual Studio 2017, which requires Docker to be working.

Dave Gerding

Not sure, about Windows Containers. We never tested.

That’s odd, must be some Docker services down.

I’ll check this and come back.

I’ve done the tests here and it’s working normally.
I’m not sure what can be happening to your environment. But it may be something related to powershell.

You can try another terminal just in case? Try Mingw32 that comes with Git SCM or equivalent.


docker-compose up
Creating network "docker_default" with the default driver
Creating volume "docker_dgraph" with default driver
Pulling zero (dgraph/dgraph:latest)...
latest: Pulling from dgraph/dgraph
124c757242f8: Pull complete
9d866f8bde2a: Pull complete
fa3f2f277e67: Pull complete
398d32b153e8: Pull complete
afde35469481: Pull complete
275fe35919d5: Pull complete
dab7fd7d4234: Pull complete
9976e62e9ed8: Pull complete
Digest: sha256:296fce7e969cdc70d73214131396e66527e8a76c52493af7172beffe437cd624
Status: Downloaded newer image for dgraph/dgraph:latest
Creating docker_zero_1 ...
Creating docker_zero_1
Creating docker_ratel_1 ...
Creating docker_server_1 ...
Creating docker_ratel_1
Creating docker_server_1 ... done
Attaching to docker_zero_1, docker_ratel_1, docker_server_1
zero_1    |
zero_1    | Dgraph version   : v1.0.9
zero_1    | Commit SHA-1     : 22c13fce
zero_1    | Commit timestamp : 2018-10-02 16:45:53 -0700
zero_1    | Branch           : HEAD
zero_1    |
1 Like

I signed out and in again. Then it worked :slight_smile: Thanks !

1 Like