Provides the TPM 2.0 tool software stack with the command line tools and the TPM 2.0 emulator.
tpm_server &
If you want to start with a fresh state run it with -rm
as an option.
Before any TPM command will work you must send it a startup command, with a real TPM it is apparently the job of the BIOS to do this.
tpm2_startup --clear
docker pull starlabio/tpm2-emulator
docker run -it starlabio/tpm2-emulator