Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

chorrell/docker-apg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'