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"]}
| # | |
| # udev rule | |
| # Mount USB drive to the media directory using the partition name as mount point | |
| # | |
| # Description: | |
| # Created for Home Assistant OS, this rule mounts any USB drives | |
| # into the Hassio media directory (/mnt/data/supervisor/media). | |
| # When a USB drive is connected to the board, the rule creates one directory | |
| # per partition under the media directory. The newly created partition is named | |
| # as the partition name. If the partition does not have a name, then the following |
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"]}