chown: changing ownership of '/var/lib/mysql/': Operation not permitted 报错没有权限,,

来源:6-3 compose实战

青春阳光爱伟

2020-12-15 18:49

[vagrant@vagrant-centos7 ghost]$ docker-compose up Creating ghost_db_1 Creating ghost_ghost-app_1 Creating ghost_nginx_1 Attaching to ghost_db_1, ghost_ghost-app_1, ghost_nginx_1 db_1         | chown: changing ownership of '/var/lib/mysql/': Operation not permitted  报错没有权限,,本地已经给这个data权限777,怎么整

写回答 关注

1回答

  • qq_慕妹2577703
    2021-09-26 10:19:11

    这个是容器中文件,应该以交互命令行模式进行容器查看是否有相关权限吧

Docker入门

再不学点Docker你就out啦!

96701 学习 · 242 问题

查看课程

相似问题