Installation issue #686
-
New to docker because needed NetAlertX, when i follow the instruction i get this error. Wondering what may have gone wrong? root@Docker: Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi, Do you have a folder called Create the directories: mkdir -p /apps/netalertx/config /apps/netalertx/db Adjust the Docker command: docker run -d --rm --network=host -v /apps/netalertx/config:/app/config -v /apps/netalertx/db:/app/db -e TZ=Asia/Kuala_Lumpur -e PORT=20211 jokobsk/netalertx:latest Run the adjusted Docker command: docker run -d --rm --network=host -v /apps/netalertx/config:/app/config -v /app |
Beta Was this translation helpful? Give feedback.
-
Thanks for this post, I ran into the same issue. |
Beta Was this translation helpful? Give feedback.
Hi,
Do you have a folder called
local/path
? You need to adjust the command to reflect your setup, and replacelocal/path
with an existing folder, that will contain 2 folders:config
anddb
. For example you create a folder this way:Create the directories:
Adjust the Docker command:
Replace local/path/config and local/path/db with /apps/netalertx/config and /apps/netalertx/db respectively. The adjusted command will look like this:
Run the adjusted Docker command: