Comments (5)
Im November 2017 habe ich den Start von ioB als Dienst raus genommen weil einige User Probleme hatten dass ioB nach einem restart des Containers nicht zuverlässig startete. Allerdings da noch ohne systemctl. Seither hat sich viel getan. Zuletzt wurde die komplette Setup-routine von ioB geändert, was ich aktuell zu kompensieren versuche...
Ich nehme das Thema gerne mit auf meine Liste, aber mit low low priority. Meines Erachtens ist die Verwendung von backitup nicht zwingend notwendig, da es auch andere Möglichkeiten des Backups gibt.
Für eine Diskussion und Lösungsvorschläge bin ich wie immer offen. :)
Danke für euren Support!
MfG,
André
from iobroker.docker.
Als Tipp, mir fehlen auch ein paar Pakte die wahrscheinlich nur ich benötige. Ich habe mir ein Dockerfile erstellt um das Image von Buanet für meine Ansprüche zu erweitern. Da kannst du z.B. auch den apt-get install systemd für systemctl erweitern.
# Dockerfile
FROM buanet/iobroker:beta
MAINTAINER yourname <[email protected]>
RUN apt-get -y update && apt-get install -y vim libavahi-compat-libdnssd-dev ffmpeg net-tools dnsutils procps pkg-config libudev-dev build-essential curl unzip
Dann mit sudo docker build -t myiobroker .
Container erstellen
from iobroker.docker.
Danke für die Tips und Erklärungen! Ich bleibe dran!
from iobroker.docker.
Hallo,
ich habe mich gestern ein wenig über systemd belesen und werde es nicht offiziell in das Image aufnehmen.
Meine gestrigen Tests mit der aktuellen Beta haben allerdings gezeigt, dass die Befehle "iobroker stop", "iobroker start" und "iobroker status" seit dem neuen Setup wieder funktionieren sollten und iobroker durchaus als Dienst im Container laufen kann.
Trotzdem werde ich aufgrund der vergangenen Erfahrungen mit den Problemen beim Container neustart an der aktuellen Startoption (Start von iobroker per Script) festhalten.
Zusätzlich habe ich im neuen Beta Image eine Option eingebaut, die es möglich macht im Rahmen des Startscripts zusätzliche Pakete nachzuinstallieren. Dazu beim Start des Containers einfach die Umgebungsvariable "PACKAGES" mit dem Wert "paket1 paket3 paket3" (eine Liste der zu installierenden Pakete, durch Komma getrennt) anlegen. Beim Start werden die Pakete dann nachinstalliert.
Doku dazu ist gerade in Arbeit.
MfG,
André
from iobroker.docker.
Hallo, das hört sich ja gut an!
Ursprünglich bin ich auf die Thematik gestoßen, weil BackitUp in einigen Scripts auf systemd angewiesen ist, das Thema habe ich aber, was das Vollbackup betrifft, erledigt. Dann war für mich die Frage aufgetaucht, warum ioBroker nicht richtig beendet wird, wenn der Container gestoppt wird. Allerdings ist das für mich, mangels Linux Kenntnissen, immer noch nicht klar, ob es an Docker generell liegt oder an deinem Image. Deshalb dachte ich, dass wenn ioBroker als Dienst ausgeführt wird, beim stoppen des Containers richtig runter gefahren wird, scheint aber nicht so zu sein. Da muss ich mich mal demnächst, sobald die Zeit dazu da ist, in Linux/Docker mal einarbeiten.....
MfG
Jürgen
from iobroker.docker.
Related Issues (20)
- [Feature Request]: Working together on a helm chart HOT 2
- [Problem]: cannot pull most of the tags for ghcr.io/buanet/iobroker HOT 1
- [Feature Request]: Add set -e to healthcheck.sh HOT 1
- [Feature Request]: migrate to PUID/PGID since it is the defacto standard HOT 2
- [Problem]: userscripts are not owned by the SETGID/SETUID user HOT 2
- [Problem]: iobroker_startup.sh should respect traps HOT 3
- [Feature Request]: Disable keep-alive feature for containers, when not in maintenance mode HOT 6
- [Feature Request]: Make the list of available backups sorted
- [Problem]: arm/v7 support HOT 10
- [Problem]: Small typo in docs HOT 1
- [Problem]: Container on QNAP NAS: Backitup can't access mount point HOT 2
- [Problem]: Running Iobroker as a podman rootless container HOT 1
- [Problem]: iobroker gets killed by oom-kill constantly HOT 5
- Backup of influxdb running in different docker is not working HOT 8
- [Problem]: Update js-controller HOT 2
- Failed to load definitions for node: Error:
- The selected advertiser, \"avahi\", isn't available on this platform
- ERROR: Process exited with code 25 HOT 4
- [Problem]: Use bundled npm version instead of latest / don't upgrade npm manually HOT 1
- [Problem]: Login on IObroker not possible HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.docker.