Added registry-mirrors to daemon.json

This commit is contained in:
Derek Smith 2022-05-24 14:15:39 -04:00
parent 0c36702da5
commit 1ccc909783
Signed by: farscapian
GPG Key ID: 8F1CD799CCA516CC

View File

@ -29,6 +29,7 @@ config:
- jq
- git
- nano
- wait-for-it
groups:
- docker
@ -120,6 +121,15 @@ config:
UsePAM no
LogLevel INFO
- path: /etc/docker/daemon.json
content: |
{
"registry-mirrors": [
"${REGISTRY_URL}"
]
}
runcmd:
- cat ${REMOTE_HOME}/docker.asc | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
- sudo rm ${REMOTE_HOME}/docker.asc