-
Notifications
You must be signed in to change notification settings - Fork 15
FAQ
florykiank edited this page Jul 30, 2019
·
1 revision
[Errno -3] Temporary failure in name resolution':
If you have network connection on the host machine but no internet inside docker container this means you should change network interface for docker run command.
Add --network host
in run docker command:
docker run --network host --name sast --rm -d \
-e TASKS=<tasks> \
-v <path_to_folder_with_project_after_build>:/code \
-e CX_PROJECT=<project_name> \
-e SNYK_TOKEN=<snyk_token> \
-e CX_USER=<cx_user> \
-e CX_PASSWORD=<cx_pwd> sast:latest
2019-05-23 10:33:00,905 - sast_controller.drivers.cx.Checkmarx - CRITICAL - Invalid connection
- Double check CX_USER and PASSWORD parameters in script
- Verify that manually you are able to login in Checkmarx