Golden Codes - armanexplorer planet

Practical code snippets for Django, Python, Bash, Git and All!

View on GitHub

set registry mirror for dind docker host

Docs

Configure local mirror

With small examples

Acknowledge with docker info

Acknowledge with docker info

troubleshooting

When you customize docker dind service and not set alias for that to be resolvable by docker client

dial tcp: lookup docker on 8.8.8.8:53: no such host

  services:
    - name: private_registry/docker:20.10.16-dind
      alias: docker # to be able to get accessed by the job container