docker pull dph5199278/openssl
docker run -it dph5199278/openssl
OpenSSL asks for details and export the certificate in the current directory as cert.pem
docker run -it -v $(pwd):/export dph5199278/openssl req -nodes -new -newkey rsa:2048 -sha256 -out /export/cert.pem
Read the OpenSSL documentation for further informations.
docker run -it --entrypoint /bin/bash dph5199278/openssl
The images come in many flavors, each designed for a specific use case. dph5199278/openssl
dph5199278/openssl:<version>This images is based on the Debian Linux project, available in the debian official image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
dph5199278/openssl:<version>-alpineThis image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
Content type
Image
Digest
sha256:9edb6077a…
Size
39 MB
Last updated
22 days ago
docker pull dph5199278/openssl:4.0