From 90a402d946a9eba25935b7abba007c157b9223da Mon Sep 17 00:00:00 2001 From: Emmanuel Briney Date: Thu, 24 Aug 2017 01:34:49 +0200 Subject: [PATCH] fix registry template plist location for launchctl (#4333) --- docs/recipes/osx-setup-guide.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/recipes/osx-setup-guide.md b/docs/recipes/osx-setup-guide.md index 41d490597..a9d9c6b6d 100644 --- a/docs/recipes/osx-setup-guide.md +++ b/docs/recipes/osx-setup-guide.md @@ -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: