forked from ss/sovereign-stack
Added registry-mirrors to daemon.json
This commit is contained in:
parent
0c36702da5
commit
1ccc909783
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user