Skip to content

Instantly share code, notes, and snippets.

@desnij
Last active August 28, 2020 17:34
Show Gist options
  • Save desnij/3d4f2aa478d79067898b6762a8b63288 to your computer and use it in GitHub Desktop.
Save desnij/3d4f2aa478d79067898b6762a8b63288 to your computer and use it in GitHub Desktop.

after seeing the publication that th4 was available I got excited, but now I am rather disappointed. I read about people using th4 in kubernetes, but for the life of me I cant get the stack to work in docker.

I'd love to help, but I have no idea how we make thehive pages, docker images.

Docker

  • 1 cortex/3.1.0-0.1RC1 simply wont work

unless you create a dockefile and change USER to cortex

$ docker run -i -t --entrypoint=/bin/bash thehiveproject/cortex:3.1.0-0.1RC1
docker: Error response from daemon: unable to find user thehive: no matching entries in passwd file.
ERRO[0000] error waiting for container: context canceled 
FROM thehiveproject/cortex:3.1.0-0.1RC1
USER cortex
    1. Default location for config config is in /opt/thehive/conf/application.ini, unless specified. cruft?
$ grep script_conf_file  /opt/thehive/bin/thehive
declare -r script_conf_file="${app_home}/../conf/application.ini"
[[ -f "$script_conf_file" ]] && set -- $(loadConfigFile "$script_conf_file") "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment