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 apgUsage:
docker run -i --rm apg -hVersion info:
docker run -i --rm apg -vGenerate some long, complex passwords:
docker run -i --rm apg -m 24 -M SNCLAdd 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:latestAnd 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:latestAnd setup an alias like this:
alias apg='docker run -i --rm ghcr.io/chorrell/apg:latest'