Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Burp pro on Docker with Redhat host

vinny Sep 17, 2019 10:15PM UTC

How do I make Burp Pro run on docker with Redhat OS host and make the license persist?


Liam Tai-Hogan Sep 18, 2019 01:21PM UTC Support Center agent

Vinny, could you try the following process:

- Run Burp on your host machine and license the file manually.

- A file will be created. e.g. on Linux it is ~/.java/.userPrefs/burp/prefs.xml

- Find and grab the file.

- Add the file to the Docker volume.

- Ensure it is included in the correct path in your Docker image.

Please let us know if you need any further assistance.


vinny Sep 26, 2019 10:35PM UTC
Hi Liam,

In one of the above steps you mention '- Ensure it is included in the correct path in your Docker image.'

my folder structure inside the container:
/app - root
/app/ptas/static/burpsuite.jar - burp jar

My docker application is under '/app' folder and I included the below volume mount path but it did not recognize the license.

docker run -v ~/.java/.userPrefs/burp/prefs.xml:/app/.java/.userPrefs/burp/prefs.xml

what should the correct path look like in docker image? Currently the image ends up requesting license activation.

vinny Sep 27, 2019 06:07PM UTC
Hi Liam,

I fixed the path issue by mapping to root folder:
~/.java/.userPrefs/burp/prefs.xml:/root/.java/.userPrefs/burp/prefs.xml

Now when I start burp, it still ends up asking for license activation:

Burp will now attempt to contact the license server and activate your license. This will require Internet access.
NOTE: license activations are monitored. If you perform too many activations, further activations for this license may be prevented.
Enter preferred activation method (o=online activation; m=manual activation; r=re-enter license key)
java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Can't rename /root/.java/.userPrefs/burp/prefs.tmp to /root/.java/.userPrefs/burp/prefs.xml

Mike Eaton Sep 30, 2019 02:05PM UTC Support Center agent

Hi Vinny,

Instead of trying to import an ‘activated’ instance of Burp Suite into a docker container, it might be better to create your own docker image by activating an instance of Burp Suite within an image and then committing a new layer so that you can use that image in the future.

You can find instructions on how to use docker on their website: https://docs.docker.com/get-started/

Please let us know if you need any further assistance.


Post Your public answer

Your name
Your email address
Answer