Record it at hand first, and then improve it later
docker run --restart=always -p 6379:6379 -d -v /close/redis/conf/redis.conf:/usr/local/etc/redis/redis.conf --name redis redis redis-server /usr/local/etc/redis/redis.conf
Among them, redis.config is a directory that hangs to the outside and copies it by itself