0
[[email protected] ~]$ docker start sharelatex
sharelatex
[[email protected] ~]$ docker logs sharelatex
*** Running /etc/my_init.d/00_make_sharelatex_data_dirs.sh...
mkdir: cannot create directory ‘/var/lib/sharelatex/data’: Permission denied
chown: cannot access ‘/var/lib/sharelatex/data’: No such file or directory
mkdir: cannot create directory ‘/var/lib/sharelatex/data’: Permission denied
chown: cannot access ‘/var/lib/sharelatex/data/user_files’: No such file or directory
mkdir: cannot create directory ‘/var/lib/sharelatex/data’: Permission denied
chown: cannot access ‘/var/lib/sharelatex/data/compiles’: No such file or directory
mkdir: cannot create directory ‘/var/lib/sharelatex/data’: Permission denied
chown: cannot access ‘/var/lib/sharelatex/data/cache’: No such file or directory
mkdir: cannot create directory ‘/var/lib/sharelatex/tmp’: Permission denied
chown: cannot access ‘/var/lib/sharelatex/tmp’: No such file or directory
mkdir: cannot create directory ‘/var/lib/sharelatex/tmp’: Permission denied
chown: cannot access ‘/var/lib/sharelatex/tmp/uploads’: No such file or directory
mkdir: cannot create directory ‘/var/lib/sharelatex/tmp’: Permission denied
chown: cannot access ‘/var/lib/sharelatex/tmp/dumpFolder’: No such file or directory
*** /etc/my_init.d/00_make_sharelatex_data_dirs.sh failed with status 1
*** Killing all processes...
嘗試'sudo docker start sharelatex' –
看起來像設置爲在'docker start'運行的shell腳本(通過'cmd'或'entrypoint')試圖運行一些它不需要的命令有權做。 – CtheGood
sudo docker start sharelatex不起作用。 –