These two commands will enable and disable your init script/service in system startup in Ubuntu 14.04:
Enable/add your service in startup
$ sudo update-rc.d docker defaults
Disable/remove service from startup
$ sudo update-rc.d -f docker remove
These two commands will enable and disable your init script/service in system startup in Ubuntu 14.04:
Enable/add your service in startup
$ sudo update-rc.d docker defaults
Disable/remove service from startup
$ sudo update-rc.d -f docker remove