mirror of
https://github.com/distribution/distribution
synced 2024-11-06 19:35:52 +01:00
fix registry template plist location for launchctl (#4333)
This commit is contained in:
parent
aa6e69711a
commit
90a402d946
@ -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 New Issue
Block a user