Skip to content

Instantly share code, notes, and snippets.

@satooshi
Last active December 24, 2016 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satooshi/5509c0c93ba83495d77055f586446f12 to your computer and use it in GitHub Desktop.
Save satooshi/5509c0c93ba83495d77055f586446f12 to your computer and use it in GitHub Desktop.
docker introduction
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