Access TPM chip from container

Hi,

How can I access TPM chip from container. I can bind filesystem like /sys and /dev/ to container.
but tpm_version is not able to detect the TPM chip inside container.

1 Like

you can mount /var/run/dbus/system_bus_socket from host to docker container . just as -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket