Skip to content

Instantly share code, notes, and snippets.

@shin-
Last active August 29, 2015 13:59
Show Gist options
  • Save shin-/10481714 to your computer and use it in GitHub Desktop.
Save shin-/10481714 to your computer and use it in GitHub Desktop.
root@shin-vb:~/dockerfiles/small# docker build -t small .
Uploading context 2.56 kB
Uploading context
Step 0 : FROM ubuntu:13.10
---> 25593492b938
Step 1 : RUN dd if=/dev/urandom of=/huge.bin bs=2M count=5
---> Running in cf8384936fb2
5+0 records in
5+0 records out
10485760 bytes (10 MB) copied, 0.886656 s, 11.8 MB/s
---> 1cea43f5b6f0
Successfully built 1cea43f5b6f0
Removing intermediate container cf8384936fb2
root@shin-vb:~/dockerfiles/small# docker tag small indexstaging-docker.dotcloud.com/joffrey/small
root@shin-vb:~/dockerfiles/small# time docker push indexstaging-docker.dotcloud.com/joffrey/small
The push refers to a repository [indexstaging-docker.dotcloud.com/joffrey/small] (len: 1)
Sending image list
Pushing repository indexstaging-docker.dotcloud.com/joffrey/small (1 tags)
511136ea3c5a: Image already pushed, skipping
Image 1c7f181e78b9 already pushed, skipping
Image d0732e6ce563 already pushed, skipping
Image 25593492b938 already pushed, skipping
1cea43f5b6f0: Image successfully pushed
Pushing tag for rev [1cea43f5b6f0] on {https://registry-staging.docker.io/v1/repositories/joffrey/small/tags/latest}
real 0m52.054s
user 0m0.038s
sys 0m0.048s
root@shin-vb:~/dockerfiles/small# docker version
Client version: 0.10.0-dev
Client API version: 1.10
Go version (client): go1.2.1
Git commit (client): 407b11c
Server version: 0.10.0-dev
Server API version: 1.10
Git commit (server): 407b11c
Go version (server): go1.2.1
Last stable version: 0.10.0
root@shin-vb:~/dockerfiles/small# docker build -t small .
Uploading context 2.56 kB
Uploading context
Step 0 : FROM ubuntu:13.10
---> 25593492b938
Step 1 : RUN dd if=/dev/urandom of=/huge.bin bs=2M count=5
---> Running in c46c49bec13e
5+0 records in
5+0 records out
10485760 bytes (10 MB) copied, 0.919632 s, 11.4 MB/s
---> 4faccf1a5f4d
Successfully built 4faccf1a5f4d
Removing intermediate container c46c49bec13e
root@shin-vb:~/dockerfiles/small# docker tag small indexstaging-docker.dotcloud.com/joffrey/small
root@shin-vb:~/dockerfiles/small# time docker push indexstaging-docker.dotcloud.com/joffrey/small
The push refers to a repository [indexstaging-docker.dotcloud.com/joffrey/small] (len: 1)
Sending image list
Pushing repository indexstaging-docker.dotcloud.com/joffrey/small (1 tags)
511136ea3c5a: Image already pushed, skipping
Image 1c7f181e78b9 already pushed, skipping
Image d0732e6ce563 already pushed, skipping
Image 25593492b938 already pushed, skipping
4faccf1a5f4d: Image successfully pushed
Pushing tag for rev [4faccf1a5f4d] on {https://registry-staging.docker.io/v1/repositories/joffrey/small/tags/latest}
real 0m47.488s
user 0m0.037s
sys 0m0.055s
root@shin-vb:~/dockerfiles/small# docker version
Client version: 0.10.0-dev
Client API version: 1.10
Go version (client): go1.2.1
Git commit (client): 407b11c
Server version: 0.9.1
Git commit (server): 867b2a9
Go version (server): go1.2.1
Last stable version: 0.10.0, please update docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment