This docker image is based on Ubuntu Bionic (18.04 LTS)
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
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
Content type
Image
Digest
Size
63.5 MB
Last updated
about 4 years ago
docker pull llima3000/tacplus