Docker容器创建命令汇总

redis

docker run -p 6379:6379 --name redis-01 --net my-tomcat-net --ip= -v /root/mk-backsystem/redis/conf/redis.conf:/etc/redis/redis.conf -v /root/mk-backsystem/redis/data:/data -d redis:buster redis-server /etc/redis/redis.conf --appendonly yes

你可能感兴趣的:(docker,docker,容器,redis)