From 14a90bfa3ae33f8a4e767590d266682fd33662aa Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Thu, 23 Feb 2017 22:25:06 -0600 Subject: [PATCH] Check if Docker is running inside Docker. Dockerception. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e05159b..908ebe4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,8 @@ script: && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1) - # TODO: Test whether Docker is running correctly. + # Test whether Docker is running correctly (Dockerception!). + - docker exec --tty "$(cat ${container_id})" docker run hello-world notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/