Check if Docker is running inside Docker. Dockerception.

This commit is contained in:
Jeff Geerling 2017-02-23 22:25:06 -06:00
parent 5c864acf13
commit 14a90bfa3a

View File

@ -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/