Hi all
Is it possible to install ASL in a Proxmox LXC container or is a dedicated full VM required due to allowing access to hardware / priveleges etc?
TIA
Michael
ZR6EDM
Hi all
Is it possible to install ASL in a Proxmox LXC container or is a dedicated full VM required due to allowing access to hardware / priveleges etc?
TIA
Michael
ZR6EDM
I’ve done some VERY light testing with ASL3 in containers. As long as your container technology runs as a “privileged” container and can access /dev/
entries related to DAHDI, it should work okay. Note that containers are not supported for ASL3 at this time.
I currently run ASL 3 in a full VM on my Proxmox node. I have never been able to get DAHDI working properly in an LXC container. I was waiting for the official Docker support before digging back into it.
You’d be best off in a VM. I don’t think you can pass USB to a container ( unless you’re running radioless hub I suppose and don’t need USB).
I’ve been running ASL as VMs under Proxmox for several years no problem and at several different sites
Ah, all of mine are VOTER/ROIP, I completely forgot about hardware passthrough. I second to just use a VM, especially if its anything other than radioless or ROIP. In general, use containers for apps and services, and use VMs when hardware interfacing. The setup is much easier and more repeatable, and the tradeoff is negligeable.
Thank you all for your responses.
A VM it shall be then!
Maybe an idea for the user guide / wiki to be updated to specify that ASL should be run inside a VM, not a container?
73 all
ZR6EDM
Actually, what I’ve been hoping for is someone who is strong in containers gets it working in a repeatable fashion and we can document that. I personally don’t get why people want to use containers for most things, but there is a demand out there that would be nice to satisfy.
I followed the ASL3 Debian 12 installation at Debian 12 Install - AllStarLink Manual to create a new ASL3 Guest in Proxmox and almost everything works except cockpit. I can only see the default Debian webpage at 192.168.3.3 (my reserved DHCP address) and if I append :9090 to the address, nothing is there. Help! This is soooo close to complete
What does work: Asterisk, asl-menu, Allmon3, config and connection to/from my USB hot spot radio. asl-say commands on the command line also work.
EDIT: I was able to get the cockpit with “sudo apt install asl3-pi-appliance”. Just had to fix the usernames and passwords in /etc/asterisk/config.ini and /etc/allmon3/allmon.ini.
If there’s a better way, I’ll take the input. But I can confirm this works.
At the moment that’s kinda/sorta the best way. In general, asl3-pi-appliance will work (probably with some irrelevant errors) on a x86_64 general-purpose debian box. An X86_64 installer is on the list.