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
Removing references to regsitry 1.0, pointing to distribution
Updating links and title
Adding in comments
Signed-off-by: Mary Anthony <[email protected]>
> Using TLS and managing a CA is an advanced topic.
62
-
> You should be familiar with OpenSSL, x509, and TLS before
63
-
> attempting to use them in production.
64
-
65
-
> **Warning:**
66
-
> These TLS commands will only generate a working set of certificates on Linux.
67
-
> The version of OpenSSL in Mac OS X is incompatible with the type of
68
-
> certificate Docker requires.
69
-
70
-
## Testing the verification setup
71
-
72
-
You can test this setup by using Apache to host a Docker registry.
73
-
For this purpose, you can copy a registry tree (containing images) inside
74
-
the Apache root.
75
-
76
-
> **Note:**
77
-
> You can find such an example [here](
78
-
> http://people.gnome.org/~alexl/v1.tar.gz) - which contains the busybox image.
79
-
80
-
Once you set up the registry, you can use the following Apache configuration
81
-
to implement certificate-based protection.
82
-
83
-
# This must be in the root context, otherwise it causes a re-negotiation
84
-
# which is not supported by the TLS implementation in go
85
-
SSLVerifyClient optional_no_ca
86
-
87
-
<Location /v1>
88
-
Action cert-protected /cgi-bin/cert.cgi
89
-
SetHandler cert-protected
90
-
91
-
Header set x-docker-registry-version "0.6.2"
92
-
SetEnvIf Host (.*) custom_host=$1
93
-
Header set X-Docker-Endpoints "%{custom_host}e"
94
-
</Location>
95
-
96
-
Save the above content as `/etc/httpd/conf.d/registry.conf`, and
97
-
continue with creating a `cert.cgi` file under `/var/www/cgi-bin/`.
This CGI script will ensure that all requests to `/v1`*without* a valid
121
-
certificate will be returned with a `403` (i.e., HTTP forbidden) error.
14
+
The orginal content was deprecated. For information about configuring
15
+
cerficates, see [deploying a registry
16
+
server](http://docs.docker.com/registry/deploying/). To reach an older version
17
+
of this content, refer to an older version of the documentation.
For example, if your mirror is serving on `http://10.0.0.2:5000`, you would run:
Copy file name to clipboardExpand all lines: docs/introduction/understanding-docker.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,11 +116,11 @@ images, or you can download Docker images that other people have already created
116
116
Docker images are the **build** component of Docker.
117
117
118
118
#### Docker registries
119
-
Docker registries hold images. These are public or private stores from which you upload
120
-
or download images. The public Docker registry is called
121
-
[Docker Hub](http://hub.docker.com). It provides a huge collection of existing
122
-
images for your use. These can be images you create yourself or you
123
-
can use images that others have previously created. Docker registries are the
119
+
Docker registries hold images. These are public or private stores from which you
120
+
upload or download images. The public Docker registry is provided with the
121
+
[Docker Hub](http://hub.docker.com). It serves a huge collection of existing
122
+
images for your use. These can be images you create yourself or you can use
123
+
images that others have previously created. Docker registries are the
124
124
**distribution** component of Docker.
125
125
126
126
#### Docker containers
@@ -179,8 +179,9 @@ returns a final image.
179
179
180
180
### How does a Docker registry work?
181
181
The Docker registry is the store for your Docker images. Once you build a Docker
182
-
image you can *push* it to a public registry [Docker Hub](https://hub.docker.com) or to
183
-
your own registry running behind your firewall.
182
+
image you can *push* it to a public registry such as the one provided by [Docker
183
+
Hub](https://hub.docker.com) or to your own registry running behind your
184
+
firewall.
184
185
185
186
Using the Docker client, you can search for already published images and then
186
187
pull them down to your Docker host to build containers from them.
Copy file name to clipboardExpand all lines: docs/misc/faq.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ with several powerful functionalities:
97
97
applications. Your ideal PostgreSQL setup can be re-used for all your future
98
98
projects. And so on.
99
99
100
-
-*Sharing.* Docker has access to a [public registry](https://registry.hub.docker.com/)
100
+
-*Sharing.* Docker has access to a public registry[on Docker Hub](https://registry.hub.docker.com/)
101
101
where thousands of people have uploaded useful containers: anything from Redis,
102
102
CouchDB, PostgreSQL to IRC bouncers to Rails app servers to Hadoop to base
0 commit comments