I am trying to setup an application which is having python and graph QL as backend and is using radis, while building nginx using
'
docker-compose --profile backend --profile frontend up --build
'
it is pulling radis and then getting failed with
ERROR- Get "https://gcr.io/v2/": x509: certificate signed by unknown authority.
I am using it on windows ,
I tried by two ways-
1 Placing file in "Programdata\Docker\config\daemon.json" which is having below content,
'
{
"insecure-registries" : [ "your.registry.host:5000" ]
}
'
Adding content in C:\Program Files\Docker\Docker\resources\windows-daemon-options.json
'
{ "insecure-registries": [ "your.registry.host:5000" ] } '
But no luck, Any help is appreciated
As an alternate solution update your docker-compose.yml script with google/<docker_name> instead of gcr.io
For example:
cadvisor:
image: gcr.io/cadvisor/cadvisor:latest
To
cadvisor:
image: google/cadvisor:latest
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.