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"]}
| automation: | |
| id: cb7d0e035b94403db6b08f7263584b51_config_check_update | |
| alias: Run config check on change | |
| description: Run a config check when config is changed and reload automations when blueprints change | |
| max_exceeded: silent | |
| trigger: | |
| - id: file_change | |
| platform: event | |
| event_type: folder_watcher | |
| - id: reload |
| blueprint: | |
| name: Update notifications | |
| description: Send notifications for new updates and install or skip on action | |
| homeassistant: | |
| min_version: '2022.4.0' | |
| domain: automation | |
| input: | |
| update_entities: | |
| name: Update entities | |
| description: >- |
| esphome: | |
| name: plant_moisture | |
| platform: ESP32 | |
| board: esp32dev | |
| wifi: | |
| ssid: "spam" | |
| password: "eggs" | |
| # Enable logging |
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"]}