Last active
December 24, 2016 05:40
-
-
Save satooshi/5509c0c93ba83495d77055f586446f12 to your computer and use it in GitHub Desktop.
docker introduction
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
mkdir mydockerbuild | |
cd mydockerbuild | |
vi Dockerfile | |
FROM library/ubuntu:16.04 | |
RUN apt-get -y update && apt-get install -y build-essential git silversearcher-ag python libssl-dev | |
CMD date | |
docker build -t echo-date . | |
docker images | |
docker run echo-date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment