thousands-plumber-33255
07/11/2022, 4:11 PMregistries
field to another container? I.e. I am running pants from a container that is in the same network as my localstack container. I can access it with localstack
as the host and not localhost
. But with
registries=[
"localstack:4510",
],
It is trying to reach Get <https://localstack:4510/v2/>": dial tcp: lookup localstack on 192.168.65.5:53: no such host
curved-television-6568
07/11/2022, 4:23 PMdocker push
command look like?thousands-plumber-33255
07/11/2022, 5:32 PMdocker push
in the end. I really am wondering how the serverless plugin then can publish from docker-in-docker when an image is selected as target. Because that works as expected.curved-television-6568
07/11/2022, 5:38 PMthousands-plumber-33255
07/11/2022, 5:39 PMcurved-television-6568
07/11/2022, 5:41 PMthousands-plumber-33255
07/11/2022, 5:41 PMthousands-plumber-33255
07/12/2022, 8:58 AMdocker push localstack:4510/repo1
(see here). It seems that by default localhost is insecure registry. In the end I solved it adding "insecure-registries" : ["host.docker.internal:4510"] so that with the following I was able to publish my image to localstack with pants:
registries=[
"host.docker.internal:4510",
],