panhandler persistent volume

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

panhandler persistent volume

L4 Transporter

HI team.  A bit of a silly question, but how to do you use persistent shared volume for the panhandler container?

I spent half a day trying to get it to work, used the installation script, tried manually, read docker documentation, but it did not work. 

1 accepted solution

Accepted Solutions

L2 Linker

ideally, you want to attach a volume to `/home/cnc_user`. Here is an example that should help:

 

docker volume create panhandler_volume
docker run -p 8080:8080 -t -d \
    -v panhandler_volume:/home/cnc_user \
    -v "/var/run/docker.sock:/var/run/docker.sock" \
    -e CNC_USERNAME=paloalto \
    -e CNC_PASSWORD=panhandler \
    --name panhandler paloaltonetworks/panhandler

 

The key is the create the volume first using the 'docker volume create' command, then reference that in the run command. Happy to help, you can always ping me on slack on the networktocode slack community as 'nembery'.

View solution in original post

1 REPLY 1

L2 Linker

ideally, you want to attach a volume to `/home/cnc_user`. Here is an example that should help:

 

docker volume create panhandler_volume
docker run -p 8080:8080 -t -d \
    -v panhandler_volume:/home/cnc_user \
    -v "/var/run/docker.sock:/var/run/docker.sock" \
    -e CNC_USERNAME=paloalto \
    -e CNC_PASSWORD=panhandler \
    --name panhandler paloaltonetworks/panhandler

 

The key is the create the volume first using the 'docker volume create' command, then reference that in the run command. Happy to help, you can always ping me on slack on the networktocode slack community as 'nembery'.

  • 1 accepted solution
  • 5433 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!