Can travis-ci run docker?

I am unable to run a docker container in a Travis continuous integration job.

  • Docker on Windows Nano Server: There is not enough space on the disk
  • How do you remove the contents of a docker volume?
  • Fail building a Docker container early with bad list of packages for yum install
  • Kubernetes not restarting failed pods on another docker node
  • Cant access my Docker DotNet core website
  • How to host multiple dockerized websites (ngnix) in one ip address?
  • pkg/installation_tests/
    Segmentation Fault or Critical Error encountered. Dumping core and aborting.
    pkg/installation_tests/ line 16:  7343 Aborted                 docker build $dir
    make: *** [docker_install_tests] Error 1

    My guess is that there are missing kernel stuff in the travis workers, but it is difficult to tell.

  • Nginx configuration for docker repos in Artifactory
  • Sonatype Nexus 3 - Scripting Docker Image Cleanup?
  • Memory snappiness docker
  • Docker - Rails app cannot connect to linked Postgres container (doesn't seem to be running)
  • How do we get something unique like pod id or container id in kubernetes deployment yamls
  • Weird behaviour of boto inside docker
  • 3 Solutions collect form web for “Can travis-ci run docker?”

    As of August 2015, Travis CI officially supports Docker.

    See Using Docker in Builds for usage details.

    Sorry, while we currently support Docker as an alternative virtualization platform, we don’t directly support running Docker inside of the current setup, at least directly.

    However, there are workarounds that could help you there from the fine folks at Docker themselves:

    In case you have not yet solved the problem yourself, here you can find a practical example of the solution suggested above.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.