1. 镜像下载 docker pull redis:6.2.7 2. 映射文件 mkdir -p /home/docker/redis/conf touch /home/docker/redis/conf/redis.conf </