Skip to content

Commit

Permalink
Update cortex-neurons.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nusantara-self committed Feb 16, 2024
1 parent 071c7d5 commit f70c888
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docs/TheHive/cortex-neurons.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ docker build -t myneuron:latest .
docker run --rm -v ${PWD}:/job myneuron:latest
```

## Test remote existing cortex-neurons (on MacOS)
### Test remote existing cortex-neurons (on MacOS Apple Silicon)

```bash
docker run --platform=linux/amd64 -v ${PWD}:/job cortexneurons/dshield_lookup:devel
docker run --rm --platform=linux/amd64 -v ${PWD}:/job cortexneurons/dshield_lookup:devel
```

:::info
Expand Down Expand Up @@ -58,4 +58,16 @@ Make sure to have a ./input/input.json file configured locally. If the cortex ne
"pap":2,
"message":"1"
}
```

### Debug remote existing cortex-neuron from command-line

```bash
docker run -ti --platform linux/amd64 --name=mylocalneuron --rm --entrypoint /bin/bash cortexneurons/falconsandbox:devel
```

Upon new changes, to create an image if needed (better build from scratch, not recommended):

```bash
docker commit mylocalneuron mylocalneuron:latest
```

0 comments on commit f70c888

Please sign in to comment.