I find difficulties in using this docker, without having the following error:
pkg/prelude/bootstrap.js:1176
throw error;
^
Error: EACCES: permission denied, mkdir '/opt/key-networks/ztncui/etc/storage'
at Object.fs.mkdirSync (fs.js:885:18)
at Function.sync (/snapshot/src/node_modules/mkdirp/index.js:71:13)
at LocalStorage.parseStorageDirSync (/snapshot/src/node_modules/node-persist/src/local-storage.js:619:20)
at LocalStorage.initSync (/snapshot/src/node_modules/node-persist/src/local-storage.js:142:14)
at Object.nodePersist.initSync (/snapshot/src/node_modules/node-persist/src/node-persist.js:37:32)
at Object.<anonymous> (/snapshot/src/controllers/networkController.js:0:0)
at Module._compile (pkg/prelude/bootstrap.js:1252:22)
at Object.Module._extensions..js (module.js:661:10)
at Module.load (module.js:563:32)
at tryModuleLoad (module.js:503:12)
The command I tried to start the docker is:
docker run -d \
-p 127.0.0.1:25001:3000 \
-v /path/to/config:/opt/key-networks/ztncui/etc \
-v /path/to/zerotier-one:/var/lib/zerotier-one \
-e PUID=$(id -u) \
-e PGID=$(id -g) \
--cap-add=NET_ADMIN \
--name ztncui \
keynetworks/ztncui
I have read #4 and I think it's a similar issue? But I am not sure.
Hopefully someone can give two cents on this issue. :D
I find difficulties in using this docker, without having the following error:
The command I tried to start the docker is:
I have read #4 and I think it's a similar issue? But I am not sure.
Hopefully someone can give two cents on this issue. :D