feat(Dind): Test dind containers

This commit is contained in:
Marcel Feix 2022-06-14 18:10:32 +02:00
parent f46de584c7
commit 5acce39a09
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03

View File

@ -5,6 +5,7 @@ services:
- name: docker:dind - name: docker:dind
# explicitly disable tls to avoid docker startup interruption # explicitly disable tls to avoid docker startup interruption
command: [ "--tls=false" ] command: [ "--tls=false" ]
alias: docker
variables: variables:
# Instruct Testcontainers to use the daemon of DinD. # Instruct Testcontainers to use the daemon of DinD.
@ -15,7 +16,7 @@ variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
Test-Simple-Dind: Test-Simple-Dind:
image: docker image: docker:stable
stage: verify stage: verify
script: script:
- docker run -t alpine echo test - docker run -t alpine echo test