RADIUSdesk

logo

This is an old revision of the document!


RADIUSdesk Docker Image

Introduction

  • You need to know the basics of Docker in order to complete these instructions.
  • The Docker image will produce a split image (two containers)
    • One container will be the database using MariaDB
    • The other container will be the web server with Nginx, PHP and FreeRADIUS.

Install Docker

  • We assume you are a user called system on a standard Ubuntu install.
  • Issue the following commands to install the Docker system on your machine.
USER="system"
 
sudo apt-get update
sudo apt-get install -y \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
 
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
 
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
 
sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo apt-get -y install docker-compose
 
# Make docker run as non root
sudo usermod -aG docker $USER
sudo chmod 666 /var/run/docker.sock
 
# customize with your own.
sudo mkdir -p /mnt/data
# make sure all future data in this folder can be created as non root
sudo chown  $USER:$USER /mnt/data

Create the Docker containers

  • We include everything to create the RADIUSdesk docker containers with the RADIUSdesk (rdcore) repository.
  • Check out the