docker-compose up
Starting ubuntu_freepbx_1 ... done
Attaching to ubuntu_freepbx_1
freepbx_1 | iptables v1.8.2 (legacy): can't initialize iptables table `filter': Permission denied (you must be root)
freepbx_1 | Perhaps iptables or your kernel needs to be upgraded.
freepbx_1 | For enabling fail2ban you have to run this container with 'privileged: true'
Neither FreePBX or Asterisk are designed with Dockers/Containers in mind. Can it be done? Sure. Is it going to be supported or recommended? Not really. Will there be issues that will be related to this? Oh yes, there will be.
When you’re in the directory in which the yaml file is and you run “docker-compose up -d” it automatically does everything for you. The file is called “Dockerfile” and there can be only one file in the directory.
The infamous ward mundy use to play a game with every new device called will it run trixbox then later piaf… Ususally through the genius or insanity of one or more of his community members they made many “smart” devices in to a pbx…