Deployment

Docker

4min

Running in Docker

The following command will allow you to run TruffleHog Enterprise as a daemon in Docker. The last line contains the arguments passed to TruffleHog (the scan subcommand followed by the config arguement). Everything prior to that are flags for Docker itself.

Basic daemon


Using the host certificate authority

If your environment uses a custom certificate authority, and it is installed on the host machine, you can mount it into the container for use with the following Docker flags:

Custom PKI


The location of your custom CA may vary and need adjustment.

Using a HTTP proxy

If your environment requires a HTTP proxy for egress, you can specify it with the following Docker flags:

Basic daemon


You will likely need to adjust the hosts for your environment.

Updated 14 May 2024
Doc contributor
Doc contributor
Did this page help you?