docker_images_containers
This is an old revision of the document!
Getting a fresh image:
docker pull centos:6Once you have pulled the image you can view your docker images with:
docker imagesExample output:
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE centos 6 72703a0520b7 3 weeks ago 190.6 MB centos latest 0f73ae75014f 3 weeks ago 172.3 MB hello-world latest af340544ed62 8 weeks ago 960 BOnce you have the image downloaded you can create a container with
docker run -i -t 72703a0520b7 /bin/bash
docker_images_containers.1444053589.txt.gz · Last modified: 2024/05/23 07:26 (external edit)