When you upgrade to Ubuntu 15.04 and install docker using the get.docker.io script, you’ll probably run into an error like “Are you trying to connect to a TLS-enabled daemon without TLS?”.
Ubuntu 15.04 changed to systemd and you should enable docker with this command:
$ systemctl enable docker
Restart your computer, and it should be working.