July 13, 20223 yr docker run -p 6379:6379 --name iredis -v /home/docker/redis/config/redis.conf:/etc/redis/redis.conf -v /home/docker/redis/data:/data -d redis:5.0.5 redis-server /etc/redis/redis.conf --appendonly yes 如上面的命令 最后的 redis-server /etc/redis/redis.conf 就是dockerfile的CMD那一行。在unraid中有办法实现吗?
July 26, 20223 yr On 7/13/2022 at 10:25 PM, markli said: docker run -p 6379:6379 --name iredis -v /home/docker/redis/config/redis.conf:/etc/redis/redis.conf -v /home/docker/redis/data:/data -d redis:5.0.5 redis-server /etc/redis/redis.conf --appendonly yes 如上面的命令 最后的 redis-server /etc/redis/redis.conf 就是dockerfile的CMD那一行。在unraid中有办法实现吗? 可以的。 容器编辑界面开启高级模式,在额外参数里添加即可。
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.