GitXplorerGitXplorer
c

docker-pwgen

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
2a07c8ec3e2cd73d9fe691014d6844f4efa8b84c

Merge pull request #2 from chorrell/add-image

cchorrell committed 5 months ago
Verified
06bb7c9d6fc9d43bd3de019fbad7d451fbdb3a24

Merge pull request #1 from chorrell/dependabot/github_actions/docker/build-push-action-6

cchorrell committed 5 months ago
Verified
2d79bc160939fe97b6e98b3c00f88d325901d06a

Bump docker/build-push-action from 5 to 6

ddependabot[bot] committed 5 months ago
Verified
94da35dfbbc0cd92819f21591902c25a7da11d65

Add docker-pwgen

cchorrell committed 5 months ago
Verified
4cfafe55eebea20a523b2aea4a7720d759f2af67

Add docker-pwgen

cchorrell committed 5 months ago
Verified
5ba2e46fcb6c5808a46d28dd1db73a08a36b5908

Initial commit

cchorrell committed 5 months ago

README

The README file for this repository.

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'