Granmar and speeling fixes
Signed-off-by: Olivier Gambier <olivier@docker.com>
This commit is contained in:
parent
6197ca7b10
commit
0c42f0cd63
4 changed files with 12 additions and 12 deletions
|
@ -18,11 +18,11 @@ Most people should use the [official Registry docker image](https://hub.docker.c
|
||||||
|
|
||||||
People looking for advanced operational use cases might consider rolling their own image with a custom Dockerfile inheriting `FROM registry:2`.
|
People looking for advanced operational use cases might consider rolling their own image with a custom Dockerfile inheriting `FROM registry:2`.
|
||||||
|
|
||||||
OSX users who want to run natively can do so following [the instructions here](osx-setup-guide.md).
|
OS X users who want to run natively can do so following [the instructions here](osx-setup-guide.md).
|
||||||
|
|
||||||
### Gotchas
|
### Gotchas
|
||||||
|
|
||||||
You are expected to know your way with go & git.
|
You are expected to know your way around with go & git.
|
||||||
|
|
||||||
If you are a casual user with no development experience, and no preliminary knowledge of go, building from source is probably not a good solution for you.
|
If you are a casual user with no development experience, and no preliminary knowledge of go, building from source is probably not a good solution for you.
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ for proper setup. If done correctly, you should have a GOROOT and GOPATH set in
|
||||||
environment.
|
environment.
|
||||||
|
|
||||||
If a Go development environment is setup, one can use `go get` to install the
|
If a Go development environment is setup, one can use `go get` to install the
|
||||||
`registry` source code from the current latest:
|
`registry` command from the current latest:
|
||||||
|
|
||||||
go get github.com/docker/distribution/cmd/registry
|
go get github.com/docker/distribution/cmd/registry
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ INFO[0000] configuring endpoint alistener (https://mylistener.example.com/event)
|
||||||
|
|
||||||
Events have a well-defined JSON structure and are sent as the body of
|
Events have a well-defined JSON structure and are sent as the body of
|
||||||
notification requests. One or more events are sent in a structure called an
|
notification requests. One or more events are sent in a structure called an
|
||||||
envelope. Each event has a unique id that can be used to uniquify incoming
|
envelope. Each event has a unique id that can be used to uniquely identify incoming
|
||||||
requests, if required. Along with that, an _action_ is provided with a
|
requests, if required. Along with that, an _action_ is provided with a
|
||||||
_target, identifying the object mutated during the event.
|
_target, identifying the object mutated during the event.
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<!--[metadata]>
|
<!--[metadata]>
|
||||||
+++
|
+++
|
||||||
title = "Running on OSX"
|
title = "Running on OS X"
|
||||||
description = "Explains how to run a registry on OSX"
|
description = "Explains how to run a registry on OS X"
|
||||||
keywords = ["registry, on-prem, images, tags, repository, distribution, osx, recipe, advanced"]
|
keywords = ["registry, on-prem, images, tags, repository, distribution, OS X, recipe, advanced"]
|
||||||
+++
|
+++
|
||||||
<![end-metadata]-->
|
<![end-metadata]-->
|
||||||
|
|
||||||
|
@ -10,21 +10,21 @@ keywords = ["registry, on-prem, images, tags, repository, distribution, osx, rec
|
||||||
|
|
||||||
## Use-case
|
## Use-case
|
||||||
|
|
||||||
This is useful if you intend to run a registry server natively on OSX.
|
This is useful if you intend to run a registry server natively on OS X.
|
||||||
|
|
||||||
### Alternatives
|
### Alternatives
|
||||||
|
|
||||||
You can start a VM on OSX, and deploy your registry normally as a container using Docker inside that VM.
|
You can start a VM on OS X, and deploy your registry normally as a container using Docker inside that VM.
|
||||||
|
|
||||||
The simplest road to get there is traditionally to use the [docker Toolbox](https://www.docker.com/toolbox), or [docker-machine](https://docs.docker.com/machine/), which usually relies on the [boot2docker](http://boot2docker.io/) iso inside a VirtualBox VM.
|
The simplest road to get there is traditionally to use the [docker Toolbox](https://www.docker.com/toolbox), or [docker-machine](https://docs.docker.com/machine/), which usually relies on the [boot2docker](http://boot2docker.io/) iso inside a VirtualBox VM.
|
||||||
|
|
||||||
### Solution
|
### Solution
|
||||||
|
|
||||||
Using the method described here, you install and compile your own from the git repository and run it as an OSX agent.
|
Using the method described here, you install and compile your own from the git repository and run it as an OS X agent.
|
||||||
|
|
||||||
### Gotchas
|
### Gotchas
|
||||||
|
|
||||||
Production services operation on OSX is out of scope of this document. Be sure you understand well these aspects before considering going to production with this.
|
Production services operation on OS X is out of scope of this document. Be sure you understand well these aspects before considering going to production with this.
|
||||||
|
|
||||||
## Setup golang on your machine
|
## Setup golang on your machine
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,6 @@ At this point, it's assumed that:
|
||||||
|
|
||||||
* [using Apache as an authenticating proxy](apache.md)
|
* [using Apache as an authenticating proxy](apache.md)
|
||||||
* [using Nginx as an authenticating proxy](nginx.md)
|
* [using Nginx as an authenticating proxy](nginx.md)
|
||||||
* [running a Registry on OSX](osx-setup-guide.md)
|
* [running a Registry on OS X](osx-setup-guide.md)
|
||||||
* [hacking the registry: build instructions](building.md)
|
* [hacking the registry: build instructions](building.md)
|
||||||
* [mirror the Docker Hub](mirror.md)
|
* [mirror the Docker Hub](mirror.md)
|
Loading…
Reference in a new issue