Before the initial startup, you have to create the Certificates.
$ cd certs
$ vi ca.cnf server.cnf
$ make
$ cd ..
sqlite3 db/radius.sqlite3 INSERT INTO radcheck VALUES('1', 'test', 'Cleartext-Password', ':=', 'secret');
$ docker run --name radius -d -e primary_shared_secret=radius_password -e cert_password=whatever -e "TIMEZONE=America/Montreal" -p 1812:1812/udp -v `pwd`/db:/opt/db -v `pwd`/certs:/etc/freeradius/certs hbouvier/docker-radius
$ docker run -ti -e DEBUG=true -e primary_shared_secret=radius_password -e cert_password=whatever -e "TIMEZONE=America/Montreal" -p 1812:1812/udp -v `pwd`/db:/opt/db -v `pwd`/certs:/etc/freeradius/certs hbouvier/docker-radius
Content type
Image
Digest
sha256:88ad26aec…
Size
106.2 MB
Last updated
almost 11 years ago
docker pull hbouvier/docker-radius