Move Docker configuration to daemon.json (#2116)

This is more readable than passing arguments to the daemon directly. It
also shortens the ExecStart command significantly, which is stored in
every log entry in systemd-journald.
This commit is contained in:
Stefan Agner
2022-09-07 19:13:47 +02:00
parent c63968dfc0
commit 366087cf97
3 changed files with 11 additions and 16 deletions

View File

@@ -1,14 +0,0 @@
[Unit]
Description=Docker persistent configuration
Requires=mnt-overlay.mount
After=mnt-overlay.mount
Before=docker.service
[Mount]
What=/mnt/overlay/etc/docker
Where=/etc/docker
Type=none
Options=bind
[Install]
WantedBy=hassos-bind.target