You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: registry/README.md
+19-12Lines changed: 19 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,36 +2,43 @@
2
2
3
3
Run your own Docker Registry in a Windows Docker container.
4
4
5
-
As with TP5 there is still a problem contacting containers from your Docker host locally (see [issue #253](https://github.com/Microsoft/Virtualization-Documentation/issues/253) for some details), I suggest to use two TP5 machines for now.
5
+
As with Windows Server 2016 there is still a problem contacting containers from your Docker host locally (see [issue #253](https://github.com/Microsoft/Virtualization-Documentation/issues/253) for some details), I suggest to use two Windows Server 2016 machines for now.
6
6
7
7
## Create a folder on your host
8
8
9
-
On the first TP5 we setup a local folder to persist your images.
9
+
On the first Windows Server 2016 we setup a local folder to persist your images.
10
10
11
11
```
12
12
mkdir C:\registry
13
13
```
14
14
15
15
## Run registry in container
16
16
17
-
On the first TP5 machine run the registry like this:
17
+
On the first Windows Server 2016 machine run the registry like this:
On the second TP5 machine add your local registry from the first TP5 machine. In this example the IP address of the first TP5 machine is 192.168.254.133.
25
+
On the second Windows Server 2016 machine add your local registry from the first Windows Server 2016 machine. In this example the IP address of the first Windows Server 2016 machine is 192.168.254.133.
docker tag stefanscherer/registry-windows:2.4.1 192.168.254.133:5000/registry:2.4.1
53
+
docker tag stefanscherer/registry-windows:2.6.1 192.168.254.133:5000/registry:2.6.1
47
54
```
48
55
49
56
## Push a Docker image
50
57
51
58
```
52
-
docker push 192.168.254.133:5000/registry:2.4.1
59
+
docker push 192.168.254.133:5000/registry:2.6.1
53
60
```
54
61
55
62
## Check C:\registry
56
63
57
-
On the first TP5 machine check the `C:\registry` folder and you will see some directories and files containing the images and meta information.
64
+
On the first Windows Server 2016 machine check the `C:\registry` folder and you will see some directories and files containing the images and meta information.
0 commit comments