chorrell/pwgen

By chorrell

Updated 3 months ago

A docker image for pwgen

Image
Security
Developer tools
0

127

chorrell/pwgen repository overview

docker-pwgen

Docker

A docker image for pwgen

Usage with Docker run

Use this Docker image from the command line in the same way you would with pwgen.

First build the image:

docker build -t pwgen .

Now use the image to call pwgen with docker run -i --rm pwgen:

Run pwgen without arguments:

docker run -i --rm pwgen

Usage:

docker run -i --rm pwgen -h

Generate some long, complex passwords:

docker run -i --rm pwgen -sync 25

Make it easier with an alias

Add this to your .bashrc or .zshrc file:

alias pwgen='docker run -i --rm pwgen'

Using the Docker Hub image

The lateset version of this image is published to the Docker Hub. You can use it like this:

docker pull chorrell/pwgen:latest

docker run -i --rm chorrell/pwgen:latest

And setup an alias like this:

alias pwgen='docker run -i --rm chorrell/pwgen:latest'

Using the GitHub Container Registry image

The lateset version of this image is published to the GitHub Container Registry. You can use it like this:

docker pull ghcr.io/chorrell/pwgen:latest

docker run -i --rm ghcr.io/chorrell/pwgen:latest

And setup an alias like this:

alias pwgen='docker run -i --rm ghcr.io/chorrell/pwgen:latest'

Tag summary

Content type

Image

Digest

sha256:cf05b40a9

Size

3.6 MB

Last updated

3 months ago

Requires Docker Desktop 4.37.1 or later.