Docker: what is it?
Docker allows certain services or services to be launched as containers. A container consists of certain software packages that can be loaded from the Internet and launched in isolation from the operating system and from each other.
Certain network ports outside the container can be made available for network communication with the container. Certain folders within the container can be redirected to the host operating system to make the data persistent. (So that they are not lost when the container is re-provisioned).
As an example, a Docker container for provisioning a database might write the database files and their configuration to the local file system, with the actual database running in isolation in the container after the software packages are downloaded, and accessible from the outside via a network port, something like "localhost:1433". The data of the database are in the local file system, the container consists only of the software packages and is thus exchangeable.
Launch Docker containers under Windows
Docker containers can now also be run on Windows, essentially all that is required is the installation of "Docker Desktop". ... continue reading
Launch Docker containers on Linux.
Instructions for installing Docker can be found on the manufacturer's site. For Debian / Ubuntu, I did the installation as follows. ... continue reading
nginx-LetsEncrypt reverse proxy in practice
In order to operate several web services with corresponding SSL certificates on one server, the Letsencrypt-nginx-proxy-companion can be used. The setup is a reverse proxy that handles SSL offloading and certificate management. Once the proxy is started, the companion takes care of the provisioning of multiple websites over a common IP and its certificate management: for issuing certificates for new containers and renewing them for existing containers: everything on the fly and within a few seco... ... continue reading
InfluxDB: Time series database in Docker
An InfluxDB database is a database optimized for time data. For visualization InfluxDB is often used in combination with Grafana. Note: This article refers to InfluxDB version 1, information about version 2 will follow soon. ... continue reading
Home Assistant Docker Conbee 2 and Zigbee2MQTT / deCONZ
Thanks to numerous integration options, Home Assistantis a simple platform for controlling a wide range of smart home devices. Compared to ioBroker, I found it much easier to get started with Home Assistant. While for ioBroker I was still looking for which frontend I could use for my dashboards, with Home-Assistant I had a ready-made system out of the box. Home Assistant's Lovelance dashboards can be easily clicked together in the GUI and adapted almost at will for special customizations in the... ... continue reading
Zigbee2MQTT vs deCONZ and Phoscon
Both Phoscon and Zigbee2MQTT are programs for controlling a Zigbee gateway, like the Conbee 2. The primary task of a Zigbee gateway is to connect and centrally control Zigbee devices. After initial difficulties with stability, Phoscon worked relatively well for me recently, but after more than a year of deCONZ and Phoscon I switched to Zigbee2MQTT.One reason for the change was a dimmer switch, which I did not get stable under Phoscon until last: Sometimes it worked, sometimes not, see also: Conb... ... continue reading
Grafana: Docker - visualize data and define alarms
Grafana is a web application for visualizing data. With Grafana you can create nice charts or define alarms in a few minutes. ... continue reading
MQTT - Broker in Docker
MQTT (Message Queuing Telemetry Transport) is an open network protocol for transmitting messages between devices. An MQTT broker, like the open source Mosquitto server, is a simple solution to receive data from SmartHome devices or to control them .As an example, I use MQTT with an ESP32 microcontroller to have it send values to the MQTT broker, which can be retrieved via the MQTT integration in HomeAssistant. In addition, I use the MQTTBroker to communicate my Zigbee devices via Zigbee2MQT, see... ... continue reading
Running Docker Mailserver yourself | a field report
With the help of a suitable Docker image, it is relatively easy to run a mail server yourself. I originally used the integrated mail server of the Hosteurope vServer (Plesk) and came across a very simple Docker container while looking for a replacement. The lightweight container provides a mail server without a graphical management interface, but can be managed with a few simple commands. Any email client can be used to send and receive the mails, for this POP3 or IMAP is offered for receiving a... ... continue reading
Nextcloud SSL - letsencrypt https | Docker
To synchronize contacts, appointments and photos with my NAS, I tested Nextcloud and thus turned my back on other cloud providers for my private data to some extent. Thanks to Docker, the installation is easier and more flexible than ever, allowing NextCloud to run on almost any hardware. ... continue reading
Commissioning Zigbee2MQTT in Docker - step by step
Zigbee2MQTT is an open source Zigbee bridge which can be easily integrated into existing smart home solutions thanks to the MQTT network protocol. As an example, Zigbee2MQTT combined with MQTT broker Mosquitto and Home Assistant can collect, display, record and control data from Zigbee devices. The setup described here uses Docker as a base. Manufacturer's website: https://www.zigbee2mqtt.io ... continue reading
Docker commands in practice
Docker containers can be started, updated and managed using terminal commands. In the post I note commands that I have needed so far for Docker and corresponding examples: ... continue reading