Splunk Docker and docker-compose ?

  • chrbar

    Hat das Label von OMV 0.5 auf OMV 5.x geändert.
  • You can try to use the composerizer:


    https://www.composerize.com/


    This site translates most (if not all) docker run commands to docker-compose.yml syntax.


    Based off https://hub.docker.com/r/splunk/splunk/ the compose file would look like this:


    Code
    version: '3.3'
    services:
      splunk:
        ports:
          - '8000:8000'
        environment:
          - SPLUNK_START_ARGS=--accept-license
          - SPLUNK_PASSWORD=<password>
        container_name: splunk
        image: 'splunk/splunk:latest'


    Greetings

    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Hi,


    I'm trying to test Splunk but I got errors:


    Code
    Creating splunk ... error
    
    ERROR: for splunk  Cannot start service splunk: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/sbin/entrypoint.sh\": stat /sbin/entrypoint.sh: permission denied": unknown
    
    ERROR: for splunk  Cannot start service splunk: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/sbin/entrypoint.sh\": stat /sbin/entrypoint.sh: permission denied": unknown
    ERROR: Encountered errors while bringing up the project.



    File permissions:


    Code
    [root@server splunk]$
    total 12
    drwxr-xr-x  2 dockeruser users 4096 Aug 15 19:46 .
    drwx--x--x 36 root       root  4096 Aug 15 19:46 ..
    -rw-r--r--  1 dockeruser users  224 Aug 15 19:44 docker-compose.yml

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • You don't seem to be the only one experiencing that error (no solution provided though):


    https://community.splunk.com/t…on-error/m-p/514352#M6555


    Greetings

    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!