docker:/data# mkdir /awp
docker:/data# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c6643476b61b centos_6.5_all:scan "bash" 7 minutes ago Up 7 minutes jovial_mclean
402620f666c1 registry "docker-registry" About an hour ago Up 46 minutes 0.0.0.0:5000->5000/tcp gloomy_brown
docker:/data# docker run -itd -v /awp/:/data2 --name zjzc_awp centos bash
f80b40cf9abb43c4b40535141b336ce815661cd4687e2cb918ddda4e3e2b62a4
docker:/data#
docker:/data# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f80b40cf9abb centos "bash" 4 seconds ago Up 3 seconds zjzc_awp
c6643476b61b centos_6.5_all:scan "bash" 8 minutes ago Up 8 minutes jovial_mclean
402620f666c1 registry "docker-registry" About an hour ago Up 47 minutes 0.0.0.0:5000->5000/tcp gloomy_brown
docker:/data# docker exec -it f80b40cf9abb bash
[root@f80b40cf9abb /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/docker-253:0-131624-f80b40cf9abb43c4b40535141b336ce815661cd4687e2cb918ddda4e3e2b62a4 9.8G 230M 9.0G 3% /
tmpfs 939M 0 939M 0% /dev
shm 64M 0 64M 0% /dev/shm
/dev/mapper/vg00-lv_root 97G 9.0G 83G 10% /data2