Inhalt
This Plugin installs the Docker container engine and also the portainer.io. container for graphical management.
After installation the webinterface is http://IP_LOXBERRY:9000
This Plugin will integrate Docker into the LoxBerry WebUI and enables you to use Docker like any other Plugin on your LoxBerry.
Troubleshooting and feedback
Please understand, that I cannot provide you any help with the use of the Docker engine itself. Containers are a really great technology and there are lots of guidance, videos, etc. out there.
This plugin will be improved over time and feedback is appreciated. Therefore I created a thread in the LoxForum:
https://www.loxforum.com/forum/projektforen/loxberry/plugins/165754-plugin-docker-und-portainer-io
Known-Issues
None
Getting started (chapter in german)
- Was ist überhaupt Docker und wozu ist es gut?
- Beispiel für die Erstellung eines Containers mit ioBroker (Link zu Facebook mit Screenshots)
https://www.facebook.com/groups/LoxonePLusers/permalink/3047147775406030/
10 Comments
Thomas R.
Hi,
Portainer is almost at v 1.21. Is the usage as iFrame still not possible?
Michael Miklis
Updated the Plugin to Portainer 1.23 - iFrame now works again
Roman Schrattenecker
Hi!
Bekomme bei der Installation folgende Fehlermeldungen:
Docker wird dann zwar installiert, ist aber über ip:9000 nicht erreichbar...
Könnte mir bitte jemand helfen?
LG
Christian Fenzl
Entweder dein LoxBerry kommt nicht ins Internet, oder der Debian-Server war down. Probier die Installation nochmal.
Roman Schrattenecker
DAnke, dann war wohl der Server down. Heute funktionierts...
Stoani
Wenn's wer brauchen sollte, ich habe den Docker Portainer mit folgenden Befehlen aktualisiert.
sudo docker stop $(sudo docker ps -a --filter name=portainer -q);
sudo docker rm $(sudo docker ps -a --filter name=portainer -q);
sudo docker pull portainer/portainer-ce:latest;
sudo docker run --volume=/var/run/docker.sock:/var/run/docker.sock --volume=/opt/portainer:/data -p=9000:9000 --name="portainer" --restart="unless-stopped" --detach=true portainer/portainer-ce:latest;
sudo docker image ls;
sudo docker image rm 8971979f760c;
Giovanni Castello
Hi, I tried to install Docker plugin and after instalation (seems to be sucessful - final message in log is OK: All Plugin files were installed successfully and system was cleaned up.).
When trying to open http://<loxberryURL>/admin/plugins/docker/ i get message <loxberryIP> refused to connect.
What can be wrong?
In instalation logfile there is only one ERROR
which is after
Can somenody help?
Michael Miklis
Hello,
it seems that something goes wrong during the package download "File has unexpected size (13004072 != 13004880). Mirror sync in progress?" Could you try again and check if your loxberry has internet access? You can also check using SSH and execute "apt-get update" command.
Giovanni Castello
Hi Michael Miklis, when I was installing plugin I did several iterations install/uninstall but without sucess. In meantime I installed another plugin without problem.
Today (after your post above) I retried uninstall/install Your Docker plugin and today NO PROBLEM.
Thanks anyway for hint for solution.
Thomas R.
It seems that after having updated to 2.2.0.4 docker installation isn't working anymore. It already made trouble while updating to LB 2.2.0.4 and afterwards I'm not able anymore to apt-get updates from the repository. In Docker repo sid or bullseye are also not possible to be found.
Also my containers are gone now, but it is also not possible to even get docker installed to work, anymore.
Any idea? Has there something changed in the kernel that is too up to date for docker?