1 installation
Luca Matteo Spoljarevic edited this page 2026-02-24 17:41:29 +01:00

Installation guide

This guide provides a clean and structured walkthrough to build, run, and install FreePBX inside a Docker container.

Requirements

You'll need to install the following software to be able to use this FreePBX-17-Container.

  • docker
  • docker-compose
  • git

To install Docker and Docker-Compose on your System, please refer to Dockers official Documentation here.

Open your terminal

Clone the repository and navigate into it.

git clone https://codeberg.org/Spoljarevic/FreePBX-17-Container.git && cd FreePBX-17-Container

Build the Container

Simply execute the following command to build the container image.

sudo docker-compose build

Start the container

It is recommended to start the container in detached mode. To do so, please execute this command.

sudo docker-compose up -d

Access the running container and execute the script

We need to execute the script inside the container. To access it, run this command.

sudo docker exec -it freepbx17 bash

And to execute the script, simply run this.

bash sng_freepbx_debian_install.sh --skipversion

That's it! Now the script should run smoothly and you're gonna be able to access the web ui from FreePBX17 in your browser.

Q&A

Does it run with podman?

We have not tested the compability with podman yet. If you choose to run it with podmann (rootless or rootfull), please document the process and add it to the wiki.