Test Image#
The test image is provided for testing and development purposes. It does not offer to run the NetHSM process with hardware-based separation (KVM), to encrypt the data store, or to use an external etcd. The connection between the NetHSM process and the integrated key-value store is unencrypted. The image is distributed as OCI image and can be run locally with a compatible executor such as Docker and Podman.
与 NetHSM 硬件相比,软件容器的 REST API 没有实现以下功能:
Network configuration
Factory reset
Reboot
Software update
The image can be obtained from Docker Hub.
警告
Do not use the test image under any circumstances for production data and use cases. For production environments with high security demands you must use the production image.
Tagging Policy#
The images in the repository are tagged with the Git commit hash from the main branch of the repository.
The latest image is tagged with testing
.
配置#
The image can be configured with the following environment variables.
Environment variable |
描述 |
---|---|
|
Enables extended logging for NetHSM. |
使用方法#
容器可以按以下方式执行。
$ docker run --rm -ti -p 8443:8443 docker.io/nitrokey/nethsm:testing
$ podman run --rm -ti -p 8443:8443 docker.io/nitrokey/nethsm:testing
This will run NetHSM as a Unix process inside the container and expose the REST API via the HTTPS protocol on port 8443.
重要
容器使用一个自签的TLS证书。请确保使用正确的连接设置来建立连接。请参考`NetHSM介绍<index.html>`__一章,了解更多信息。