Docker - Enable Remote HTTP API with SystemD and “daemon.json”
问题 Disclaimer: On a old machine with Ubuntu 14.04 with Upstart as init system I have enabled the HTTP API by defining DOCKER_OPTS on /etc/default/docker . It works. $ docker version Client: Version: 1.11.2 (...) Server: Version: 1.11.2 (...) Problem: This does solution does not work on a recent machine with Ubuntu 16.04 with SystemD. As stated on the top of the recent file installed /etc/default/docker : # Docker Upstart and SysVinit configuration file # # THIS FILE DOES NOT APPLY TO SYSTEMD # #