Skip to content

Commit

Permalink
Fix running registry in Windows container
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanScherer committed Nov 21, 2016
1 parent d6d7607 commit 5b65a7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions swarm-demo/README.md
Expand Up @@ -23,9 +23,10 @@ Depending on your host's memory you can spin up one or more Windows Server VM's.
A Windows Server 2016 machine with Docker and two containers running:

1. The [swarm](https://github.com/StefanScherer/dockerfiles-windows/tree/master/swarm) manager using a token in `config/swarm-token`
2. A [registry](https://github.com/StefanScherer/dockerfiles-windows/tree/master/registry) using the `registry-v2` folder on your host (TBD) to store the Docker images
2. A [registry](https://hub.docker.com/r/sixeyed/registry/) using the `registry-v2` folder on your host to store the Docker images

Notice: The registry inside a Windows Container does not work at the moment.
Notice: The registry inside a Windows Container does only work with a custom
version of Go.

### sw-win-01 ...

Expand Down
4 changes: 1 addition & 3 deletions swarm-demo/scripts/run-registry.ps1
@@ -1,4 +1,2 @@
mkdir -p C:\registry-v2
# volume mount point does not work right now, see https://github.com/docker/distribution/issues/1732
# docker run -d -p 5000:5000 -v "C:\registry-v2:C:\registry" stefanscherer/registry-windows:2.5.1
docker run -d -p 5000:5000 stefanscherer/registry-windows:2.5.1
docker run --restart=always -d -p 5000:5000 -v "C:\registry-v2:C:\data" sixeyed/registry:nanoserver

0 comments on commit 5b65a7b

Please sign in to comment.