A docker image for apg
Use this Docker image from the command line in the same way you would with apg.
First build the image:
docker build -t apg .
Now use the image to call apg with docker run -i --rm apg
:
Run apg without arguments:
docker run -i --rm apg
Usage:
docker run -i --rm apg -h
Version info:
docker run -i --rm apg -v
Generate some long, complex passwords:
docker run -i --rm apg -m 24 -M SNCL
Add this to your .bashrc
or .zshrc
file:
alias apg='docker run -i --rm apg'
The lateset version of this image is published to the Docker Hub. You can use it like this:
docker pull chorrell/apg:latest
docker run -i --rm chorrell/apg:latest
And setup an alias like this:
alias apg='docker run -i --rm chorrell/apg:latest'
The lateset version of this image is published to the GitHub Container Registry. You can use it like this:
docker pull ghcr.io/chorrell/apg:latest
docker run -i --rm ghcr.io/chorrell/apg:latest
And setup an alias like this:
alias apg='docker run -i --rm ghcr.io/chorrell/apg:latest'