Can travis-ci run docker?

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

https://travis-ci.org/buildbot/buildbot/builds/36547150

  • brief overview of current docker workflow with nginx
  • Install docker 1.11 on Fedora 21
  • Docker driver for Openstack
  • DOCKER - LAMP Stack issues - Premade Image
  • Docker container doesn't start, showing as 'Exited n seconds ago'
  • Dockerfile make error code 2
  • pkg/installation_tests/testall.sh
    Segmentation Fault or Critical Error encountered. Dumping core and aborting.
    pkg/installation_tests/testall.sh: 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.

  • npm package.json and docker (mounting it…)
  • Docker for windows 7- Get https://registry-1.docker.io/v1/repositories/library/hello-world/tags/latest: x509: certificate signed by unknown authority
  • error running docker inside docker
  • database and collections created in docker container cant be found in committed docker image
  • Docker : oci runtime error: exec: “/bin/bash”: stat /bin in windows 7
  • Managing Docker images over time
  • 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: https://github.com/jpetazzo/sekexe

    In case you have not yet solved the problem yourself, here https://github.com/rocker-org/rocker/blob/56cb59cc262e9d2c02f9e11cfacab65f0b659c5f/.travis.yml#L10-L24 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.