Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can travis-ci run docker?

Tags:

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

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

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.

like image 319
tardyp Avatar asked Sep 29 '14 11:09

tardyp


People also ask

Can I use Docker with PyCharm community?

PyCharm provides Docker support using the Docker plugin. The plugin is bundled and enabled by default in PyCharm Professional Edition. For PyCharm Community Edition, you need to install the Docker plugin as described in Install plugins.

Which of the following networking tools are supported by Travis CI?

Travis CI Features: Support for 21 languages like Android, C, C#, C++, Java, JavaScript (with Node. js), Perl, PHP, Python, R, Ruby, etc. Pre-installed build & test tools. Available services – databases, message queues, etc.

Which of the following are two main parts of Travis CI job?

The first job is to build the image and the second job is going to be to run the NPM test target.

Is Docker a vm?

The main distinction between these two technologies is that VMs run as virtual environments on the same hardware, whereas Docker runs on virtualizations of the same operating system.


2 Answers

As of August 2015, Travis CI officially supports Docker.

See Using Docker in Builds for usage details.

like image 192
Leo Gallucci Avatar answered Oct 30 '22 02:10

Leo Gallucci


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

like image 20
roidrage Avatar answered Oct 30 '22 01:10

roidrage