Cortex icon indicating copy to clipboard operation
Cortex copied to clipboard

Update Cortex-Analyzers in docker image

Open myasn1k opened this issue 4 years ago • 2 comments

Request Type

Bug

Problem Description

Cortex-Analyzers in Cortex docker image isn't pulled, so Cortex docker uses old analyzers and responders.

myasn1k avatar Aug 12 '20 12:08 myasn1k

Did you try to Update them?. Open a Shell with docker exec -u root -t -i CONTAINER_NAME /bin/bash. In the Container go to /opt/Cortex-Analyzers/ Then execute "git pull". Worked like a charm for me with the latest Image.

I would also recommend to map the /opt/Cortex-Analyzers/ to the Host System, so you don't have to Shell into the Container to Update your Analyzers and keep ur Data after a Restart

JustCodeIt4Head avatar Sep 01 '20 14:09 JustCodeIt4Head

Did you try to Update them?. Open a Shell with docker exec -u root -t -i CONTAINER_NAME /bin/bash. In the Container go to /opt/Cortex-Analyzers/ Then execute "git pull". Worked like a charm for me with the latest Image.

Yes that's what i did, but i thought that it would have been better for example to pull everything during the build of the image, or during the init script.

I would also recommend to map the /opt/Cortex-Analyzers/ to the Host System, so you don't have to Shell into the Container to Update your Analyzers and keep ur Data after a Restart

Maybe i should do this, thanks!

myasn1k avatar Sep 01 '20 14:09 myasn1k