Created
December 29, 2016 09:13
-
-
Save 0xAhmed/b02708020898a21100a22d7f2158fbe6 to your computer and use it in GitHub Desktop.
Docker build: Dockerfile render results
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
$ ls | |
2.1 2.3 Dockerfile.template render.sh | |
$ cd 2.1 && docker build -t my_app:2.1 . | |
Sending build context to Docker daemon 2.048 kB | |
Step 1 : FROM ruby:2.1 | |
---> 2903b59d264e | |
Step 2 : CMD ruby --version | |
---> Running in cea80b05db0f | |
---> 08c4ae2b2188 | |
Removing intermediate container cea80b05db0f | |
Successfully built 08c4ae2b2188 | |
$ docker run my_app:2.1 | |
ruby 2.1.10p492 (2016-04-01 revision 54464) [x86_64-linux] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment