Try again with volume binding
Some checks reported errors
continuous-integration/drone/push Build was killed

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
Jacob Kiers 2022-08-20 23:23:48 +02:00
parent 9f39ed65eb
commit 7e255f2576

View File

@ -45,6 +45,7 @@ local check_steps() = [
commands: [ commands: [
'while ! docker image ls; do sleep 1; done', 'while ! docker image ls; do sleep 1; done',
'docker info', 'docker info',
'docker pull hello-world:latest',
], ],
volumes: [{ volumes: [{
name: 'dockersock', name: 'dockersock',
@ -67,16 +68,30 @@ local check_steps() = [
name: 'docker', name: 'docker',
image: 'docker:dind', image: 'docker:dind',
privileged: true, privileged: true,
volumes: [{ volumes: [
name: 'dockersock', {
path: '/var/run', name: 'dockersock',
}], path: '/var/run',
},
{
name: 'docker-storage',
path: '/var/lib/docker',
},
],
}], }],
volumes: [{ volumes: [
name: 'dockersock', {
temp: {}, name: 'dockersock',
}], temp: {},
},
{
name: 'docker-storage',
host: {
path: '/var/lib/docker',
},
},
],
image_pull_secrets: ['docker_private_repo'], image_pull_secrets: ['docker_private_repo'],
} }