Skip to content

Instantly share code, notes, and snippets.

@Cloven
Created August 2, 2016 05:18
Show Gist options
  • Save Cloven/69a157e3f29788c4493dd32d75f246df to your computer and use it in GitHub Desktop.
Save Cloven/69a157e3f29788c4493dd32d75f246df to your computer and use it in GitHub Desktop.
sg@spatula:/Users/fsg/p/k8/sputnik $ docker build . -t sputnik:latest
Sending build context to Docker daemon 3.072 kB
Step 1 : FROM alpine
---> 4e38e38c8ce0
Step 2 : COPY sputnik.sh /
---> Using cache
---> 8d783a6b5539
Step 3 : CMD /sputnik.sh
---> Using cache
---> 185684a49ac0
Successfully built 185684a49ac0
fsg@spatula:/Users/fsg/p/k8/sputnik $ docker run sputnik
ping
Tue Aug 2 05:17:25 UTC 2016
ping
Tue Aug 2 05:17:30 UTC 2016
ping
Tue Aug 2 05:17:35 UTC 2016
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment