-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running tern with podman returns cert error #1087
Comments
At this time, tern relies on docker to pull images, but we are moving away from that. Meanwhile, you can try using the
I have a reference of how this works here: https://github.com/vmware-samples/containers-with-sboms/blob/main/base_container.sh |
@muzammil786 We made a release recently that removed docker as a dependency for analyzing container images. Try: |
@nishakm
|
@muzammil786 not at this time. We can probably modify the Dockerfile to create a volume mount. Or podman perhaps has some way of enabling this. I will take a look. |
@nishakm Thanks. I have sorted this out by adding my registry into the base image.
This line in the docker/Dockerfile helped me sail for now :-) |
I am not able to reproduce this error when running |
In situations where TLS is not enabled for a registry, users may now turn off the option to check TLS certificates and use HTTP rather than HTTPS to pull images using skopeo. It is advised to not use this flag for untrusted registries and only use it for registries hosted locally to testing or debugging. This option is also added for the `debug` sub-command. Fixes tern-tools#1121 and tern-tools#1087 Signed-off-by: Nisha K <nishak@vmware.com>
In situations where TLS is not enabled for a registry, users may now turn off the option to check TLS certificates and use HTTP rather than HTTPS to pull images using skopeo. It is advised to not use this flag for untrusted registries and only use it for registries hosted locally to testing or debugging. This option is also added for the `debug` sub-command. Fixes tern-tools#1121 and tern-tools#1087 Signed-off-by: Nisha K <nishak@vmware.com>
In situations where TLS is not enabled for a registry, users may now turn off the option to check TLS certificates and use HTTP rather than HTTPS to pull images using skopeo. It is advised to not use this flag for untrusted registries and only use it for registries hosted locally to testing or debugging. This option is also added for the `debug` sub-command. Fixes tern-tools#1121 and tern-tools#1087 Signed-off-by: Nisha K <nishak@vmware.com>
In situations where TLS is not enabled for a registry, users may now turn off the option to check TLS certificates and use HTTP rather than HTTPS to pull images using skopeo. It is advised to not use this flag for untrusted registries and only use it for registries hosted locally to testing or debugging. This option is also added for the `debug` sub-command. Fixes #1121 and #1087 Signed-off-by: Nisha K <nishak@vmware.com>
How can we run turnd analysis using podman. I tried by creating the podman socket and using the command below:
sudo podman run --privileged --device /dev/fuse -v /run/podman/podman.sock:/var/run/docker.sock:z --rm ternd report -i python:3.9-slim-buster > output.txt
But it got errors like:
The text was updated successfully, but these errors were encountered: