htpasswd
file for basic authentication, at a minimum:library/registry
image does not support the DNS-01 challenge yet, and some of the LetsEncrypt challenge support is getting out of date. If you need this, there is a tracking issue; We have had success by building the binary ourselves and replacing it in the image that Docker ships.buildkit_additional_config
setting:<mirror>
is the host/port of your mirror, and <upstream>
is the address of the registry you are intending to mirror.registry
container.192.168.0.80
.ssh 192.168.0.80
), and create a file under ~/.docker-registry-config.yml
containing:[username]
and [password]
with your dockerhub credentials./etc/docker/daemon.json
file, and add:docker pull alpine:3.15
), which should use the cache./etc/hosts
file./etc/docker/daemon.json
was not correctly configured, you should see an error such as:~/.earthly/config.yml
to include:earthly-buildkitd
container to reflect these settings.