update osx-setup-guide.md for #14380

update path of the config.yml and com.docker.registry.plist
This commit is contained in:
Zeki CELIK 2022-03-12 22:22:07 +03:00 committed by GitHub
parent fd9b6ee4aa
commit 8c106f5260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -52,14 +52,14 @@ If you want to understand, you should read [How to Write Go Code](https://golang
Copy the registry configuration file in place:
mkdir /Users/Shared/Registry
cp docs/osx/config.yml /Users/Shared/Registry/config.yml
cp docs/recipes/osx/config.yml /Users/Shared/Registry/config.yml
## Run the Docker Registry under launchd
Copy the Docker registry plist into place:
plutil -lint registry/recipes/osx/com.docker.registry.plist
cp registry/recipes/osx/com.docker.registry.plist ~/Library/LaunchAgents/
plutil -lint docs/recipes/osx/com.docker.registry.plist
cp docs/recipes/osx/com.docker.registry.plist ~/Library/LaunchAgents/
chmod 644 ~/Library/LaunchAgents/com.docker.registry.plist
Start the Docker registry: