问答详情
源自:6-3 compose实战

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

[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,怎么整

提问者:青春阳光爱伟 2020-12-15 18:49

个回答

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

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