-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Open
Labels
Description
Description
We have 2 registries. One is v1 registry and another is v2. We are in the process of migration
And we have some Dockerfiles that use base image from v1. But now we needed to push these images to v2.
Steps to reproduce the issue:
- Build new image from image that pulled from v2
- Try to push new image
Describe the results you expected:
And after successful build when we push new image to v2 registry we get error:
docker push registry/folder/service:3.3.0.0-103819.db2b8091e70
The push refers to a repository [registry/folder/service]
2fc436e45d0c: Waiting
843baea913ad: Waiting
554d570503fc: Waiting
85c4222882f3: Waiting
165e3e4850f4: Waiting
fa99ec25aa5c: Waiting
a02ee46947bd: Waiting
acd9bc5cd075: Pushing [==================================================>] 81.84MB
HTTP code 400 while uploading metadata: "{\n \"error\": \"Checksum mismatch\"\n}"
docker push docker push registry/folder/service:3.3.0.0-103819.db2b8091e70
The push refers to a repository [registry/folder/service]
2fc436e45d0c: Waiting
843baea913ad: Waiting
554d570503fc: Waiting
85c4222882f3: Waiting
165e3e4850f4: Waiting
fa99ec25aa5c: Waiting
a02ee46947bd: Waiting
acd9bc5cd075: Pushing [==================================================>] 81.84MB
HTTP code 400 while uploading metadata: "{\n \"error\": \"Checksum mismatch\"\n}"
Additional information you deem important (e.g. issue happens only occasionally):
Docker Daemon has:
--insecure-registry=0.0.0.0/0 --disable-legacy-registry=false
Output of docker version:
Client:
Version: 17.09.1-ce
API version: 1.32
Go version: go1.8.3
Git commit: 19e2cf6
Built: Thu Dec 7 22:24:23 2017
OS/Arch: linux/amd64
Server:
Version: 17.09.1-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: 19e2cf6
Built: Thu Dec 7 22:23:00 2017
OS/Arch: linux/amd64
Experimental: false
Also have problem on this setup:
docker version
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f4bf5c7
Client:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f4bf5c7
Built:
OS/Arch: linux/amd64
Server:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f4bf5c7
Built:
OS/Arch: linux/amd64
Output of docker info:
$ docker info
Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 5
Server Version: 17.09.1-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.13.0-46-generic
Operating System: Ubuntu 17.10
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 8.58GiB
Name:
ID: PK3E:3IIV:MVIT:7GG2:YPQC:SRJR:7JNZ:TJD6:CGRQ:JIOH:BI3W:OZI4
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
0.0.0.0/0
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
Also have issue on this setup
docker info
Containers: 0
Images: 9
Storage Driver: devicemapper
Pool Name: docker-254:1-3868033-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 9.365 GB
Data Space Total: 107.4 GB
Data Space Available: 85.68 GB
Metadata Space Used: 5.583 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.142 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.03.01 (2011-10-15)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.4.114-94.14-default
Operating System: SUSE Linux Enterprise Server 12
CPUs: 2
Total Memory: 7.797 GiB
Name: cececsdevkitv38
ID: KTZW:IF3G:2XCC:7QZK:RNNL:XNMA:AZTV:F3OS:634D:V7FA:UU3D:7YGN
Additional environment details (AWS, VirtualBox, physical, etc.):
V2 registry is Artifactory registry
Reactions are currently unavailable