title: Continuous Deployment Using Travis CI and Docker
body: <p>What is the best way to automate the deployment of a Docker image in a CI environment? </p>
  
  <p>After building a simple web project using Travis CI and using a <code>Dockerfile</code> to build the corresponding Docker image, is there a way to automatically cause that image to be deployed to a cloud provider? </p>
  
  <p>Right now, the Dockerfile pulls down the base image to the Travis build machine and builds the image based on the instructions in the Dockerfile. At this point if the build is successful I can push it to the Docker Hub, though I have no need save this image to the Docker hub, what I envision is deploying the successfully built Docker image to a cloud provider (IE. DigitalOcean, Linode, or AWS) and starting/running the image.</p>