Skip to content

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

License

Notifications You must be signed in to change notification settings

danieltrick/swtpm-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWTPM Docker

The purpose of this repository is to provide ready to use Docker images of swtpm.

Docker Hub page:
https://hub.docker.com/r/danieltrick/swtpm-docker

Usage:

In order to start swtpm via Docker, just run the following command:

$ docker run -p 2321:2321 -p 2322:2322 danieltrick/swtpm-docker:r13

Default parameters

By default, swtpm will be invoked with the following parameters:

socket --tpm2 \
--server type=tcp,port=2321,bindaddr=0.0.0.0 \
--ctrl   type=tcp,port=2322,bindaddr=0.0.0.0 \
--flags not-need-init \
--tpmstate dir=/var/lib/swtpm/tpmstate

Version history

Release Date Base system SWTPM version libtpms version
r13 2025-01-23 Alpine 3.21.2 0.11.0 / 0528ac733b76 ecb769cdb8dd
r12 2025-01-15 Alpine 3.21.2 0.11.0 / 3d6a8b75b335 ecb769cdb8dd
r11 2024-12-06 Alpine 3.21.0 0.11.0 / 314f5f411b32 f22745c72933
r10 2024-09-28 Alpine 3.20.3 0.10.0 / 2e2124928f38 6adb99a42cf6
r9 2024-09-18 Alpine 3.20.3 0.10.0 / 017f99ceddb0 e898872637b4
r8 2024-09-13 Alpine 3.20.3 0.10.0 / 28292591cbef 46548da8edbf
r7 2024-09-08 Alpine 3.20.3 0.10.0 / 607eb54b3e52 e983cdf05c4e
r6 2024-09-05 Alpine 3.20.2 0.10.0 / 607eb54b3e52 e983cdf05c4e
r5 2024-09-01 Alpine 3.20.2 0.10.0 / 0ddc7ed25491 f5518e596e65
r4 2024-08-29 Alpine 3.20.2 0.10.0 / 54583a87b536 2dc1af12e5b0
r2 2024-08-27 Debian 12, 2024-08-12 0.10.0 / 54583a87b536 2dc1af12e5b0
r1 2024-08-27 Debian 12, 2024-08-12 0.10.0 / d6ca69ad4622 92ab42119406