Tell us about your request
Possibility to use a "insecure" Docker private registry (e.g. with self-signed certificate) for pulling Docker images.
Which service(s) is this request for?
Fargate
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Currently, if the private registry has a self-signed certificate, we get an error from Fargate when we start the task:
CannotPullContainerError: Error response from daemon: Get https://my.private.registry/v2/: x509: certificate signed by unknown authority
Are you currently working around this issue?
There are actually two possible workarounds:
{
"insecure-registries" : ["my.private.registry:443"]
}
I have the same issue but with an internal Enterprise signed certificate delivered by an Internal Enterprise PKI.
I am similarly unable to run my workload on Fargate due to the assumption that the container is hosted in a secure registry.
By policy, I am required to use an insecure http-only internal LB to access a private registry.
An insecure registry is one thing but there should also be a way to supply a trusted CA cert.
Most helpful comment
An insecure registry is one thing but there should also be a way to supply a trusted CA cert.