I'am struggling with this problem. I have to push a docker image (which work rigthly with docker-compose up) to my local registry which was setup with the following command:
docker run -d -p 5000:5000 --restart=always --name registry registry:2
This is the output of 'docker ps'
5fe319f37d5c registry:latest "/entrypoint.sh /etc/" 41 hours ago Up About an hour 0.0.0.0:5000->5000/tcp registry
I follow the steps to push the image:
docker-compose up --build
docker tag gatewayapi_api localhost:5000/gatewayapi_api
docker push localhost:5000/gatewayapi_api
but in every case I obtain
file integrity checksum failed for "etc/default/cacerts
I try every solution (restart docker, clean image, restart registry)
Thanks in advance.
In this GitHub issue people are sharing their findings how to fix that issue.
TL;DR:
docker system prune -a
Does your registry work correctly with an official image? Like this:
docker pull alpine
docker tag alpine localhost:5000/my-alpine
docker push localhost:5000/my-alpine
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With