mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-23 19:06:54 +01:00
Check if Docker is running inside Docker. Dockerception.
This commit is contained in:
parent
5c864acf13
commit
14a90bfa3a
@ -36,7 +36,8 @@ script:
|
|||||||
&& (echo 'Idempotence test: pass' && exit 0)
|
&& (echo 'Idempotence test: pass' && exit 0)
|
||||||
|| (echo 'Idempotence test: fail' && exit 1)
|
|| (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:
|
notifications:
|
||||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||||
|
Loading…
Reference in New Issue
Block a user