I have created an docker image which runs the clair-scanner, this works all fine and great. However when I want to run the container concurrently I have stumbled upon a little problem.
The clair scanner uses a hard-coded http server port(9279) which is send to clair-local-scan as part the request to analyze layers.
I would like to configure the http server port or atleast be able to configure the port of the request parameter. This way I could expose the clair-scanner on a random port and execute multiple scans at the same time. For now i need to schedule the containers run consecutively to eachother.
I have created an docker image which runs the clair-scanner, this works all fine and great. However when I want to run the container concurrently I have stumbled upon a little problem.
The clair scanner uses a hard-coded http server port(9279) which is send to clair-local-scan as part the request to analyze layers.
I would like to configure the http server port or atleast be able to configure the port of the request parameter. This way I could expose the clair-scanner on a random port and execute multiple scans at the same time. For now i need to schedule the containers run consecutively to eachother.