标签:加载 bash 进入容器 roo 行操作 dock 持久 append usr
mkdir -p /mydata/redis/conf [root@iZwz9hw4qywrrl4vj6o0j1Z ~]# cd /mydata/redis/conf/ [root@iZwz9hw4qywrrl4vj6o0j1Z conf]# touch redis.conf
docker run -p 6379:6379 --name redis -v /mydata/redis/redis.conf:/etc/redis/redis.conf -v /mydata/redis/data:/data -d redis redis-server /etc/redis/redis.conf --appendonly yes
docker exec -it redis redis-cli
标签:加载 bash 进入容器 roo 行操作 dock 持久 append usr
原文地址:https://www.cnblogs.com/412013cl/p/14940449.html