-
Run an interractive shell (ctrl+P ctrl+q to detach):
docker run -i -t <imageName> /bin/bash
-
Update an image:
docker commit <containerId> <imageName>
-
Save an image to a tar archive:
docker save <imageName> > <image.tar>
-
Load an image from a tar archive:
docker load < <image.tar>
Last active
May 9, 2016 07:59
-
-
Save akofman/30b40f8b090ede8df687a06538167eab to your computer and use it in GitHub Desktop.