一、拉取Redis映象
docker pull hub.c.163.com/library/redis:4.0.1
二、建立並執行Redis
docker run -d -it --name redis d4f259423416
三、進入容器
docker exec -it redis bash
root@afa6370833fc:/# ls -a
. .. .dockerenv bin boot data dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var