Jump to content

Problem with getting custom container (goFlow2) to work


Dal

Recommended Posts

I have checked and there is no support thread for this container.

 

Anyway, I am having trouble setting it up "Unraid style"

 

If I run this from the Unraid console, it works:

 

docker run -p 6343:6343/udp -p 2055:2055/udp --net frontend -ti ghcr.io/openobserve/goflow2:v100.0.1 -transport=http \
  -transport.http.destination=http://192.168.1.60:5080/api/default/netflow1/_json \
  -transport.http.batchSize=100 \
  -transport.file /var/logs/goflow2.log \
  -transport.http.auth.header=Authorization \
  -transport.http.auth.credentials="Basic notnotnotnotFDGDF" \

 

But if I set up the container and all those parameters into the docker GUI, it does not work:

 

docker run
  -d
  --name='goFlow2'
  --net='frontend'
  --pids-limit 2048
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Unraid"
  -e HOST_CONTAINERNAME="goFlow2"
  -e 'transport'='http'
  -e 'transport.http.destination'='http://192.168.1.60:5080/api/default/netflow1/_json'
  -e 'transport.http.batchSize'='100'
  -e 'transport.http.auth.header'='Authorization'
  -e 'transport.http.auth.credentials'='Basic notnotnotnotFDGDF'
  -e 'transport.file '='/var/log/goflow2.log'
  -l net.unraid.docker.managed=dockerman
  -p '2055:2055/udp'
  -p '6343:6343/udp'
  -v '/mnt/user/appdata/docker-containers/goflow2_data':'/var/logs':'rw' 'ghcr.io/openobserve/goflow2:v100.0.1'
0515a21efef55ae3c8db38602a29209fab962abc88adc895b1c79c03012ba4ec

 

I don't understand what is the difference between these 2 methods, but obviously there is one.

Maybe one of you can spot what I am doing wrong?

 

Thanks.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...