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
|
||||
|
||||
GOPATH=$(PWD)/Godeps/_workspace:$GOPATH make binaries
|
||||
sudo mkdir -p /usr/local/libexec
|
||||
sudo cp bin/registry /usr/local/libexec/registry
|
||||
|
||||
## Setup
|
||||
|
@ -57,8 +58,8 @@ Copy the registry configuration file in place:
|
|||
|
||||
Copy the Docker registry plist into place:
|
||||
|
||||
plutil -lint docs/osx/com.docker.registry.plist
|
||||
cp docs/osx/com.docker.registry.plist ~/Library/LaunchAgents/
|
||||
plutil -lint registry/recipes/osx/com.docker.registry.plist
|
||||
cp registry/recipes/osx/com.docker.registry.plist ~/Library/LaunchAgents/
|
||||
chmod 644 ~/Library/LaunchAgents/com.docker.registry.plist
|
||||
|
||||
Start the Docker registry:
|
||||
|
|
Loading…
Reference in a new issue