Sign inSign up

llima3000/tacplus

By llima3000

Updated about 4 years ago

Simple image with tacplus service

Image
0

1.7K

llima3000/tacplus repository overview

Really simple docker image to run Tacacs+

This docker image is based on Ubuntu Bionic (18.04 LTS)

Commands To run this image from docker hub:

The commands below pull the image, create a directory, create a file with a basic config file for tac_plus into the created directory and starts the container.

docker pull llima3000/tacplus
mkdir tacpluscontainer
cd tacpluscontainer
cat << EOF > tac_plus.conf
key = tacacs123

group = netadmin {
        default service = permit
        service = exec {
                priv-lvl = 15
                }
}

user = tacadmin {
        # SHA-512 encrypted password
        login = cleartext password
        member = netadmin
}
EOF
dirconfigtacplus=$(pwd)
docker run -td --name tacplus -p 49:49 -e DEBUGLEVEL=32  \
       -v $dirconfigtacplus/tac_plus.conf:/etc/tacacs+/tac_plus.conf \
       llima3000/tacplus:latest
Remove container and docker image

To stop the container, remove it and also remove the docker image run the following comands:

docker stop tacplus
docker rm tacplus
docker rmi llima3000/tacplus

More info about this container in the github repository: https://github.com/llima3000/tacplus_image

Tag summary

Content type

Image

Digest

Size

63.5 MB

Last updated

about 4 years ago

docker pull llima3000/tacplus