chorrell / docker-apg

A docker image for apg

Home Page:https://github.com/users/chorrell/packages/container/package/apg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-apg

Docker

A docker image for apg

Usage with Docker run

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

Make it easier with an alias

Add this to your .bashrc or .zshrc file:

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

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/apg:latest

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

And setup an alias like this:

alias apg='docker run -i --rm chorrell/apg: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/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'

About

A docker image for apg

https://github.com/users/chorrell/packages/container/package/apg

License:Mozilla Public License 2.0


Languages

Language:Dockerfile 70.9%Language:Shell 29.1%