Docker is not installed with most distributions. It is distributed via Docker's repositories. Using these requires adding new repositories to your package manager with new checksums.
Docker has instructions for each distribution and different releases on their main page, which is available at http://docs.docker.com.