Open
Description
I got the same issue as stated in#5 but couldn't resolve it.
I try to create the container under Unraid so the command looks a bit different than usual but for general useability it should be the same.
docker run
-d
--name='docusaurus'
--net='bridge'
-e TZ="Europe/Berlin"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Fribb-Tower"
-e HOST_CONTAINERNAME="docusaurus"
-e 'TARGET_UID'='99'
-e 'TARGET_GID'='100'
-e 'AUTO_UPDATE'='true'
-e 'WEBSITE_NAME'='test'
-e 'TEMPLATE'='classic'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT]/'
-p '8082:80/tcp'
-v '/mnt/user/appdata/docusaurus':'/docusaurus':'rw' 'awesometic/docusaurus'
I can see that the command is creating the docusaurus folder and when I create a "test" folder in it and restart the container it creates a node_modules folder and yarn.lock file. So permission issues shouldn't be the case.
Still, the log output is:
Variables:
- UID=99
- GID=100
- AUTO_UPDATE=true
- WEBSITE_NAME=test
- TEMPLATE=classic
- RUN_MODE=development
/* Register a new cron job for auto updating... */
/* Successfully registered. */
/* Docusaurus configuration already exists in the target directory /docusaurus */
/* Node modules already exist in /docusaurus/test/node_modules */
/* Start supervisord to start Docusaurus... */
2023-03-14 09:40:04,107 INFO Set uid to user 0 succeeded
2023-03-14 09:40:04,108 INFO supervisord started with pid 11
2023-03-14 09:40:05,111 INFO spawned: 'docusaurus' with pid 12
/* Will run this Node service as development mode... */
yarn run v1.22.19
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2023-03-14 09:40:05,276 INFO exited: docusaurus (exit status 1; not expected)
2023-03-14 09:40:06,278 INFO gave up: docusaurus entered FATAL state, too many start retries too quickly
Metadata
Assignees
Labels
No labels