Sign inSign up

surendras26/swtpm-arch

By surendras26

•Updated 6 days ago

Ready-to-use Arch Linux Docker image of the Software TPM Emulator (SWTPM).

Image
Networking
Security
Developer tools
0

46

surendras26/swtpm-arch repository overview

banner

⁠SWTPM Docker Arch

Project: SWTPM Docker image built on Arch Linux, providing a software-based TPM 2.0 emulator for containerized environments.

Purpose: Enables easy deployment and testing of TPM functionality in Docker without requiring physical TPM hardware.

⁠Key Components

  • SWTPM: Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
  • libtpms: Library providing TPM functionality.
  • Arch Linux: Lightweight, rolling-release base operating system.

⁠Usage Example

docker run -p 127.0.0.1:2321-2322:2321-2322 surendras26/swtpm-arch:latest

⁠Features

  • TPM 2.0 emulation
  • TCP/IP socket interface (port 2321 for TPM commands, 2322 for control)
  • Persistent TPM state storage
  • Compatible with tpm2-tools

⁠Acknowledgement

This image incorporates third-party software strictly under their respective licenses:

Tag summary

Content type

Image

Digest

sha256:d6bf871ea…

Size

129.5 MB

Last updated

6 days ago

docker pull surendras26/swtpm-arch