forked from TrueCloudLab/distribution
fix registry template plist location for launchctl (#4333)
This commit is contained in:
parent
aa6e69711a
commit
90a402d946
1 changed files with 3 additions and 2 deletions
|
@ -44,6 +44,7 @@ If you want to understand, you should read [How to Write Go Code](https://golang
|
||||||
## Build the binary
|
## Build the binary
|
||||||
|
|
||||||
GOPATH=$(PWD)/Godeps/_workspace:$GOPATH make binaries
|
GOPATH=$(PWD)/Godeps/_workspace:$GOPATH make binaries
|
||||||
|
sudo mkdir -p /usr/local/libexec
|
||||||
sudo cp bin/registry /usr/local/libexec/registry
|
sudo cp bin/registry /usr/local/libexec/registry
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
@ -57,8 +58,8 @@ Copy the registry configuration file in place:
|
||||||
|
|
||||||
Copy the Docker registry plist into place:
|
Copy the Docker registry plist into place:
|
||||||
|
|
||||||
plutil -lint docs/osx/com.docker.registry.plist
|
plutil -lint registry/recipes/osx/com.docker.registry.plist
|
||||||
cp docs/osx/com.docker.registry.plist ~/Library/LaunchAgents/
|
cp registry/recipes/osx/com.docker.registry.plist ~/Library/LaunchAgents/
|
||||||
chmod 644 ~/Library/LaunchAgents/com.docker.registry.plist
|
chmod 644 ~/Library/LaunchAgents/com.docker.registry.plist
|
||||||
|
|
||||||
Start the Docker registry:
|
Start the Docker registry:
|
||||||
|
|
Loading…
Reference in a new issue