-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created a new snowblock that contains the `~/.docker/config.json` configuration file. The file for the `iceowl` host has been configured to ensure the macOS Keychain is used to store tokens instead of saving them as plain text into the config file. Related to epic GH-131 Closes GH-136
- Loading branch information
1 parent
47af7ad
commit 0876c2c
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Docker | ||
|
||
> Docker is the leader in the containerization market, an open-source project that automates the deployment of software applications inside containers by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux. | ||
## Setup | ||
|
||
### macOS Keychain | ||
|
||
To ensure that registry login tokens are stored in the macOS Keychain instead as plain text in the `~/.docker/config.json` file the configuration file must be adjusted: | ||
|
||
```json | ||
{ | ||
"credsStore": "osxkeychain" | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"credsStore": "osxkeychain" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"clean": ["~/.docker"] | ||
}, | ||
{ | ||
"link": { | ||
"~/.docker/config.json": { | ||
"create": true, | ||
"force": true, | ||
"hosts": { | ||
"iceowl": "config.iceowl.json" | ||
} | ||
} | ||
} | ||
} | ||
] |