hi , i have used the below docker file to run TACACS+ on ubuntu 18.04. am seeing an error wherein tacacs+ is not starting with the conatiner. saying rc.d init run level not set. I tried all solutions in
and other similar posts. but still my application does not start. can you please let me know what could be the issue?
Use Base Ubuntu image
FROM ubuntu:18.04
Author of this Dockerfile
MAINTAINER Yamini Umapathy
Update & upgrades
RUN apt-get update && apt-get upgrade -y
Install tacacs+ and Google Authenticator
RUN apt-get install tacacs+ -y
Clear local repo
RUN apt-get clean
Copy tac_plus configuration file from host to the container
COPY tac_plus.conf /etc/tacacs+/tac_plus.conf
Run tac_plus as foreground process and use /etc/tacacas+/tac_plus.conf as the config file
CMD [“tac_plus”, “-G”, “-C”, “/etc/tacacs+/tac_plus.conf”]