一、拉取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