Docker Community Forums

Share and learn in the Docker community.

Docker pushes always the hole base image to registry

We often build Images based on java:8 and so on. We push the Images to the AWS ECR.
With the docker push we always send the hole image over the wire ~800MB.

Shouldn’t it be possible to only send the changed layer to the docker registry (with the base image and layer infos?) or am I missing something? For pulling this technique works so fine.

Thank you!

I was wrong! The Docker registry is able to detect same layers and do not send them again. Maybe Amazon just sometimes recognize the existing layers sometimes not? All agents have docker versions > 1.10

is there a difference if you use overlayfs or AUFS?