Created
January 25, 2016 21:48
-
-
Save richardsonlima/88145d17041f00f02283 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
$ cat << EOF > Dockerfile | |
FROM scratch | |
MAINTAINER The CentOS Project <[email protected]> - ami_creator | |
ADD centos-7.1503-20150330_1749-docker.tar.xz / | |
CMD ["/bin/bash"] | |
EOF | |
$ wget https://github.com/CentOS/sig-cloud-instance-images/blob/bc561dfdd671d612dbb9f92e7e17dd8009befc44/docker/centos-7.1503-20150330_1749-docker.tar.xz | |
$ sudo docker build -t centos71_build01:Centos71-build01 . | |
$ sudo docker run -i -t 0766e111527f ps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment