Minor fix in docker file instructions

This commit is contained in:
pancake 2014-12-10 13:39:41 +01:00
parent 15098999d2
commit 3f5b10b315

View File

@ -14,14 +14,13 @@
# Run the docker image: # Run the docker image:
# $ docker images # $ docker images
# $ export DOCKER_IMAGE_ID= docker images | awk '{print $3}'|head -n2 | tail -n1` # $ export DOCKER_IMAGE_ID= docker images | awk '{print $3}'|head -n2 | tail -n1`
# $ docker -ti ${DOCKER_IMAGE_ID} bash # $ docker run -ti ${DOCKER_IMAGE_ID} bash
# #
# Once you quit the bash session get the container id with: # Once you quit the bash session get the container id with:
# $ docker ps -a | grep bash # $ docker ps -a | grep bash
# #
# To get into that shell again just type: # To get into that shell again just type:
# $ docker start <containedid> # $ docker start -ai <containedid>
# $ docker attach <containedid>
# #
# To share those images: # To share those images:
# $ docker export <containerid> | xz > container.xz # $ docker export <containerid> | xz > container.xz