- Source for https://hub.docker.com/u/jbonjean
- Other source available at https://github.com/jbonjean/docker-public-baseimages
jbonjean / docker-public-images Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
standard_init_linux.go:228: exec user process caused: exec format error
error start docker
docker run --restart=always -d --name volumio
-e HOST=http://192.168.1.50:4000
-p 4000:3000
-v /home/ubuntu/music:/var/lib/mpd/music/:ro
-v /home/ubuntu/config_smarthome/volumio:/data
--device /dev/snd
jbonjean/volumio
Hi,
I wanted to share some extended docker-compose file which includes more open ports + the service that uses it.
also I had issues with the HOST
environment variable because album art and category icons did not show up correctly. I fixed this by using a simple post call to the volumio api which I also included in the docker-compose below.
what I still miss is a working multi-room setup. If I start the container in network_mode: host
, it will find other volumio devices (and also get discovered) in the network. but in normal mode, it seems the mdns/avahi/zeroconf/whatever service is not correctly propagated to and from the container. would be great if somebody can help.
version: "3.3"
services:
volumio:
restart: unless-stopped
container_name: volumio
environment:
HOST: http://192.168.0.77:3000
ports:
- "3000:3000"
# albumart - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/miscellanea/albumart/config.json#L2
- "3001:3001"
# updater - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/system_controller/updater_comm/index.js#L7
- "3005:3005"
# mpd - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/music_service/mpd/lib/mpd.js#L31
- "6600:6600"
# mpd emulation - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/user_interface/mpdemulation/index.js#L9
- "6500:6500"
# shairport - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/music_service/airplay_emulation/shairport-sync.conf.tmpl#L33
- "5555:5555"
# sharepoint - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/music_service/airplay_emulation/shairport-sync-reader/README.md#L16
- "255:255"
# upnp - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/audio_interface/upnp/index.js#L9
- "6599:6599"
# debugger - https://github.com/volumio/Volumio2/blob/7e4645db47770588c5bc6bde570a1e3a9e2917e0/app/plugins/system_controller/volumio_command_line_client/commands/devmode.sh#L5
# - "9229:9229"
# network_mode: host
volumes:
- "/volume1/music:/var/lib/mpd/music:ro"
- "./config:/data"
- "./config/config.txt:/boot/config.txt"
# for mdns/avahi
- "/var/run/dbus:/var/run/dbus"
devices:
- /dev/snd
image: jbonjean/volumio
healthcheck:
test:
["CMD-SHELL", "curl --fail http://localhost:3000/api/host || exit 1"]
interval: 10s
timeout: 5s
retries: 5
# to properly set host variable after container start
volumio-set-host:
depends_on:
volumio:
condition: service_healthy
container_name: volumio-set-host
image: curlimages/curl:latest
# set host variable from above
command: curl -d "host=http://192.168.0.77" -X POST http://volumio:3000/api/host
When I access the webUI, I get redirected to /indexstate-redirect for a moment, then to /playback.
But it only loads indefinitely there.
I tried running the image two ways, first with docker-compose
version: "3"
networks:
internal:
services:
app:
image: jbonjean/volumio:latest
networks:
- internal
ports:
- 3000:3000
restart: always
volumes:
- ./music:/var/lib/mpd/music/:ro
- ./data:/data
- /etc/localtime:/etc/localtime:ro
environment:
- HOST=http://localhost:3000/
- PGID=1000
devices:
- /dev/null:/dev/snd
then as a command
docker run --restart=always -d --name volumio \
-e HOST=http://192.168.1.1:3000 \
-p 3000:3000 \
-v ./data:/data \
--device /dev/snd \
jbonjean/volumio
But the results are the same both times. What am I doing wrong?
It would be nice to have ssh for volumio in order to use remote ssh development environment.
Hello,
Can you add the snapcast plugin to docker file?
Client and server.
Thx,
Hello,
thank you for making this image.
I started a container with the following command
docker run --restart=always -d --name volumio \
-e HOST=http://192.168.1.52:3010 \
-p 3010:3000 \
-v /media/ubuntu/E432F8DB32F8B420/Audio/:/var/lib/mpd/music/:ro \
-v /home/ubuntu/Desktop/volumio/data/:/data \
--device /dev/snd \
jbonjean/volumio
but while i can browse it nicely I keep receiving the following message in the console
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.1.52/api/host. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)
I've tried to open it from another machine (my desktop pc which is not hosting the docker container) and i receive
GET http://192.168.1.52/api/host net::ERR_CONNECTION_REFUSED vendor-6d48b0e874.js:33
this message is also most likely the reason why when I hit "play" button nothing happens.
Do you have any suggestion?
Hi, thank you for contributing with your volumio image. I'm looking for a RPi 4 (ARM) architecture docker image to use in my RPi with HomeAssistant. Do you know any project? Thanks in advance!
Would you be so kind to take a look at this issue.
Can I run some kind of diagnostic in the Volumio container?
https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/698390
Volumio started stutturing audio resulting in the error message "Failed to open audio output",
Volumio log states => alsa_output: Underrun on ALSA device "default"
Hi,
I'm facing the issue where not only i can't see all plugins from the WebUI (normally there are more) but i can't install them as well via volumio plugin install.
In the file volumio-image-hacks
i saw there is the following command
# Force i386 arch (no amd64 plugins).
sed -i "s/arch = archraw\..*/arch = 'i386';/" /volumio/app/pluginmanager.js
can you elaborate on the reason why and if this could be the reason?
As per the title both logs stored in /var/log/volumio.log are empty.
This is a bit tricky because i really can't debug or investigate the issues i'm facing recently.
Do you have an idea about this?
Also in the webui when activating the live log it just display
Starting Live Log...
and nothing else
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.