#Imports for running this presentation live from IPython.html.widgets import interact, interactive from IPython.display import clear_output, display, HTML import numpy as np from scipy import integrate from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D from matplotlib.colors import cnames from matplotlib import animation %matplotlib inline !docker run --rm busybox sh -c 'echo "Hello Docker World!"' %time !docker run --rm busybox sh -c 'echo "Hello Docker World!"' !docker search itk !docker images !docker ps !docker run -d busybox sh -c 'sleep 3' !docker ps !docker ps -a !ls $PWD/images/ !docker run --rm --volume $PWD/images:/images busybox \ sh -c 'ls /images' %%writefile docker-ls-images/Dockerfile # Best practice for Dockerfile's: # specify exact versions whenever possible. FROM busybox:4986bf8c1536 MAINTAINER Matt McCormick RUN mkdir -p /images VOLUME /images CMD ["/bin/sh", "-c", "ls /images"] !docker build -t ls-images ./docker-ls-images !docker run --rm -v $PWD/images:/images ls-images YouTubeVideo('QqfjiuqVrV4')