Why /usr/local/bin/docker
v1.0
·
Updated 4 days ago
The absolute Docker path
DSM installs Docker (Container Manager) at /usr/local/bin/docker — a path that is not on the PATH of a non-interactive SSH session because /etc/profile is not sourced there. A plain docker … would therefore fail with "command not found".
Synology Manager Plus therefore always invokes Docker via the absolute path. This applies to discovery during /first-run as well as to /logs --source=docker and all /compose-* commands. A CI check in the plugin repository ensures that no command accidentally uses a bare docker.