prototipando / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
1 stars 0 forks source link

gcloud docker push does not seem to be compressing layers #605

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
* What steps will reproduce the problem?

gcloud docker push us.gcr.io/project-id/repo

What is the expected output? What do you see instead?

I see a lot of very large layer pushes. On my private V2 registries, pushing 
sends much less data.

What is the output of 'gcloud info'?

vwoo@ubuntu:~$ gcloud info
Google Cloud SDK [98.0.0]

Platform: [Linux, x86_64]
Python Version: [2.7.6 (default, Jun 22 2015, 17:58:13)  [GCC 4.8.2]]
Python Location: [/usr/bin/python2]
Site Packages: [Disabled]

Installation Root: [/usr/lib/google-cloud-sdk]
Installed Components:
  core: [2016.02.22]
  core-nix: [2016.02.22]
  gcloud: []
  gsutil-nix: [4.16]
  beta: [2016.02.22]
  gsutil: [4.16]
  bq: [2.0.18]
  alpha: [2016.02.22]
  bq-nix: [2.0.18]
System PATH: 
[/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo
cal/games:/usr/local/go/bin]
Cloud SDK on PATH: [False]

Installation Properties: [/usr/lib/google-cloud-sdk/properties]
User Config Directory: [/home/vwoo/.config/gcloud]
User Properties: [/home/vwoo/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [akanet@gmail.com]
Project: [coderpad-1189]

Current Properties:
  [core]
    project: [coderpad-1189]
    account: [akanet@gmail.com]
  [compute]
    region: [us-east1]
    zone: [us-east1-b]

Logs Directory: [/home/vwoo/.config/gcloud/logs]
Last Log File: [/home/vwoo/.config/gcloud/logs/2016.02.29/11.27.55.986431.log]

Please provide any additional information below.

As of March 2015, the native docker client compresses pushes by default: 
https://github.com/docker/docker/pull/11869. I don't know why gcloud docker 
push isn't, but it is substantially slowing me down.

Original issue reported on code.google.com by aka...@gmail.com on 29 Feb 2016 at 7:46

GoogleCodeExporter commented 8 years ago
What docker version are you using? 

Can you share the project-id/repo so we can investigate further by checking our 
logs. You may use gcr-contact@google.com to email this information to a small 
group of Googlers working on GCR.

Thanks.

Original comment by poojas...@google.com on 1 Mar 2016 at 1:51

GoogleCodeExporter commented 8 years ago
I'm running Docker 1.10.2. I'll email the project information to the address 
you gave me.

Original comment by aka...@gmail.com on 1 Mar 2016 at 1:55

GoogleCodeExporter commented 8 years ago

Original comment by vil...@google.com on 7 Mar 2016 at 3:46

GoogleCodeExporter commented 8 years ago
After a following up offline, we decided that there was nothing actionable here.

Original comment by z...@google.com on 7 Mar 2016 at 7:43