1、取最新版的 Redis 镜像2、运行容器 1、取最新版的 Redis 镜像docker pull redis:latest 2、运行容器docker run -itd --name redis-test -p 6379:6379 redis