docker-compose部署seafile不成功


#1

用的是官网默认的配置docker-compose.yml部署seafile,报如下错误,这是啥情况呢?

[root@pan home]# docker-compose up
Starting seafile-mysql …
Starting seafile-memcached … done
Recreating seafile … done
Attaching to seafile-mysql, seafile-memcached, seafile
seafile-mysql | find: ‘/var/lib/mysql/’: Permission denied
seafile-mysql | chown: changing ownership of ‘/var/lib/mysql/’: Permission denied
seafile-mysql exited with code 1
seafile | *** Running /etc/my_init.d/01_create_data_links.sh…
seafile | mkdir: cannot create directory ‘/shared/logs’: Permission denied
seafile | *** /etc/my_init.d/01_create_data_links.sh failed with status 1
seafile |
seafile | *** Killing all processes…
seafile exited with code 1


#2

我也遇到同样的问题,没有人解答吗??


#3

你这怎么这么多权限报错,跟你的部署环境有关,建议简单学习下docker的使用。


#4

这个应该是操作系统的selinux没有被禁用