09-03-2023, 05:11 PM
(This post was last modified: 09-04-2023, 03:21 PM by chourmovs.
Edit Reason: update title
)
Hi,
as explained in my introducing post, I managed to create a script to run moode OS in a docker container.
Based on my bibliography, this has never been proposed before for a series of good reasons (mainly who need that ! and docker is not designed for)
For the moment this script is not multiarch but only designed for armhf because it was initially made for my volumio primo which consists of a Debian buster distribution on an ASUS tinkerboard platform and its Armhf architecture, however I intend to open the script to all available architectures (armhf,arm64 capable of running raspbian bullseyesOS in this case) in a future version.
At the start of the script there was the excellent dev documentation of moode (§4) and the provision of development packages on Cloudsmith, thanks to Tim and the whole team to make this possible and for such an organization.
The next difficulty was to find a way to run a systemd-based OS (Docker is not intended to run a full integrated OS but more to run one app in fresh and clean minified OS)
This was so difficult that it was not possible to cook a proper dockerhub image for fast deploy via docker compose, I had to fall back on a good old fashioned bash script for a step by step installation, this method finally has some advantages because it allows to manage options during the install ...
... and at the end to resolve all the conflicts (mainly http ports) between the host system and the virtualized system. This took me so much time plying around
Here is the github address of the public repo: https://github.com/chourmovs/moode_tinkerboard
### is working
- UI and artworks without any restriction ( First time it's slow when building library)
- MPD access to host /mnt/partition
- playing any codecs tested (flac, AAV, mp3)
- Wifi, ethernet, bluetooth
- Radios
- Equalizer, parametric equalizer
### is not working
- Camilla DSP
- you tell me
Feel free to ask comment, help and report, I'm pretty sure it will open plenty of mental option for plenty of people who know why docker is so important in 2023
Cheers Vincent
as explained in my introducing post, I managed to create a script to run moode OS in a docker container.
Based on my bibliography, this has never been proposed before for a series of good reasons (mainly who need that ! and docker is not designed for)
For the moment this script is not multiarch but only designed for armhf because it was initially made for my volumio primo which consists of a Debian buster distribution on an ASUS tinkerboard platform and its Armhf architecture, however I intend to open the script to all available architectures (armhf,arm64 capable of running raspbian bullseyesOS in this case) in a future version.
At the start of the script there was the excellent dev documentation of moode (§4) and the provision of development packages on Cloudsmith, thanks to Tim and the whole team to make this possible and for such an organization.
The next difficulty was to find a way to run a systemd-based OS (Docker is not intended to run a full integrated OS but more to run one app in fresh and clean minified OS)
This was so difficult that it was not possible to cook a proper dockerhub image for fast deploy via docker compose, I had to fall back on a good old fashioned bash script for a step by step installation, this method finally has some advantages because it allows to manage options during the install ...
... and at the end to resolve all the conflicts (mainly http ports) between the host system and the virtualized system. This took me so much time plying around
Here is the github address of the public repo: https://github.com/chourmovs/moode_tinkerboard
### is working
- UI and artworks without any restriction ( First time it's slow when building library)
- MPD access to host /mnt/partition
- playing any codecs tested (flac, AAV, mp3)
- Wifi, ethernet, bluetooth
- Radios
- Equalizer, parametric equalizer
### is not working
- Camilla DSP
- you tell me
Feel free to ask comment, help and report, I'm pretty sure it will open plenty of mental option for plenty of people who know why docker is so important in 2023
Cheers Vincent