Can travis-ci run docker?

后端 未结 3 1512
遥遥无期
遥遥无期 2021-02-18 17:38

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

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

pkg/installation_te         


        
相关标签:
3条回答
  • 2021-02-18 18:13

    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.

    0 讨论(0)
  • 2021-02-18 18:17

    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

    0 讨论(0)
  • 2021-02-18 18:25

    As of August 2015, Travis CI officially supports Docker.

    See Using Docker in Builds for usage details.

    0 讨论(0)
提交回复
热议问题