Created
May 10, 2013 20:58
-
-
Save boffbowsh/5557356 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@vagrant-ubuntu-raring-64:~/griddle/nginx$ cat test | |
| FROM ubuntu | |
| RUN echo foo > bar | |
| FROM ubuntu | |
| RUN echo moo > oink | |
| vagrant@vagrant-ubuntu-raring-64:~/griddle/nginx$ docker build < test | |
| FROM ubuntu | |
| RUN echo foo > bar | |
| ===> d4afcc24d3b7 | |
| FROM ubuntu | |
| Build finished. image id: 8dbd9e392a96 | |
| 8dbd9e392a96 | |
| vagrant@vagrant-ubuntu-raring-64:~/griddle/nginx$ docker inspect 8dbd9e392a96 | |
| { | |
| "id": "8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c", | |
| "comment": "Imported from -", | |
| "created": "2013-04-11T14:13:15.57812-07:00", | |
| "container_config": { | |
| "Hostname": "", | |
| "User": "", | |
| "Memory": 0, | |
| "MemorySwap": 0, | |
| "AttachStdin": false, | |
| "AttachStdout": false, | |
| "AttachStderr": false, | |
| "PortSpecs": null, | |
| "Tty": false, | |
| "OpenStdin": false, | |
| "StdinOnce": false, | |
| "Env": null, | |
| "Cmd": null, | |
| "Dns": null, | |
| "Image": "", | |
| "Volumes": null, | |
| "VolumesFrom": "" | |
| }, | |
| "docker_version": "0.1.4" | |
| }vagrant@vagrant-ubuntu-raring-64:~/griddle/nginx$ docker inspect d4afcc24d3b7 | |
| { | |
| "id": "d4afcc24d3b7b06fc54806e150b6c8c8a6eb36ea43981d697b3290a6d593e14d", | |
| "parent": "8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c", | |
| "created": "2013-05-10T20:58:24.394777Z", | |
| "container": "5d9cc25208c17f5d9d324bfdf0b57692dffc6adf2685a1983b0612f51620ff4e", | |
| "container_config": { | |
| "Hostname": "5d9cc25208c1", | |
| "User": "", | |
| "Memory": 0, | |
| "MemorySwap": 0, | |
| "AttachStdin": false, | |
| "AttachStdout": true, | |
| "AttachStderr": true, | |
| "PortSpecs": null, | |
| "Tty": false, | |
| "OpenStdin": false, | |
| "StdinOnce": false, | |
| "Env": null, | |
| "Cmd": [ | |
| "/bin/sh", | |
| "-c", | |
| "echo foo \u003e bar" | |
| ], | |
| "Dns": null, | |
| "Image": "8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c", | |
| "Volumes": {}, | |
| "VolumesFrom": "" | |
| }, | |
| "docker_version": "0.3.2" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment