<!-- If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead. If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information. For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues --------------------------------------------------- GENERAL SUPPORT INFORMATION --------------------------------------------------- The GitHub issue tracker is for bug reports and feature requests. General support can be found at the following locations: - Docker Support Forums - https://forums.docker.com - IRC - irc.freenode.net #docker channel - Post a question on StackOverflow, using the Docker tag --------------------------------------------------- BUG REPORT INFORMATION --------------------------------------------------- Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST --> **Description** The `trustKeyPath` (https://github.com/docker/docker/blob/bbce24997c7a31454edd1d3d979823582bcdd95d/daemon/config/config.go) should be configurable and ideally in stored by default in `/var/lib/docker` (`/etc/docker` might be read-only). Currently it's using the `hardcoded` path located in https://github.com/vdemeester/docker/blob/46ec4c1ae2700ed638072fd7fb326afc10eded20/cmd/dockerd/daemon_unix.go#L47-L47. /cc @thaJeztah @justincormack
Description
The
trustKeyPath(https://github.com/docker/docker/blob/bbce24997c7a31454edd1d3d979823582bcdd95d/daemon/config/config.go) should be configurable and ideally in stored by default in/var/lib/docker(/etc/dockermight be read-only). Currently it's using thehardcodedpath located in https://github.com/vdemeester/docker/blob/46ec4c1ae2700ed638072fd7fb326afc10eded20/cmd/dockerd/daemon_unix.go#L47-L47./cc @thaJeztah @justincormack