See this issue.
Docker best practise to Control and configure Docker with systemd.
-
Create
daemon.jsonfile in/etc/docker:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json file in /etc/docker:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
| #!/usr/bin/env python3 | |
| """ reads and parses sensor data from ypyt cloud for given device token """ | |
| # see https://github.com/xoseperez/espurna/issues/1644 for more context | |
| import json | |
| import os | |
| import sys | |
| import paho.mqtt.client as mqtt | |
| import time as t |