当前位置:   article > 正文

非root用户启动redis容器报错mkdir: cannot create directory '/bitnami/redis': Permission denied...

非root用户启动redis容器报错mkdir: cannot create directory '/bitnami/redis': Permission denied...

 问题:
使用docker启动容器时,报错如下

zh@debian:~/testPath$ docker-compose up redis
Starting testpath_redis_1 ... done
Attaching to testpath_redis_1
redis_1 |
redis_1 | Welcome to the Bitnami redis container
redis_1 | Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-redis
redis_1 | Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-redis/issues
redis_1 | Send us your feedback at containers@bitnami.com
redis_1 |
redis_1 | INFO ==> ** Starting Redis setup **
redis_1 | WARN ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
redis_1 | INFO ==> Initializing Redis...
redis_1 | mkdir: cannot create directory '/bitnami/redis': Permission denied

  

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/699190
推荐阅读
相关标签
  

闽ICP备14008679号