-
-
Notifications
You must be signed in to change notification settings - Fork 793
Open
Labels
DocumentationImprovements or additions to documentationImprovements or additions to documentationFeature RequestEnhancement to existing functionality or new functionalityEnhancement to existing functionality or new functionalityIn Progress
Description
docker_registry
seems to only set an auth header for docker commands to be used during the chef run.
Proposing exposing an action (possibly :enable
) that would permanently set the auth for future docker commands outside of the chef context. Example:
# cat .docker/config.json
{
"auths": {
"https://index.docker.io/v1/": {
"auth": "<GENERATED_AUTH_TOKEN_HERE>"
}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/17.09.0-ce (linux)"
}
}
Would this be a supported use case for the docker cookbook? That block could likely be managed with the line cookbook as opposed to a template file if other sources are touching config.json.
Metadata
Metadata
Assignees
Labels
DocumentationImprovements or additions to documentationImprovements or additions to documentationFeature RequestEnhancement to existing functionality or new functionalityEnhancement to existing functionality or new functionalityIn Progress