Trying to start Docker daemon in script.
continuous-integration/drone/push Build was killed

Can possibly help with authorization problems.
This commit is contained in:
2022-06-27 12:29:43 +05:00
parent a26adfc78b
commit 5dd146d2c0
2 changed files with 12 additions and 14 deletions
+1 -13
View File
@@ -22,22 +22,10 @@ trigger:
branch: ["main"]
steps:
- name: "docker"
- name: "mirror"
image: "docker:20.10.17-dind"
pull: if-not-exists
detach: true
privileged: true
environment:
DOCKER_HOST: tcp://0.0.0.0:2375
DOCKER_TLS_CERTDIR: ""
commands:
- /usr/local/bin/dockerd --data-root=/var/lib/docker --host=tcp://0.0.0.0:2375 --tls=false
- name: "mirror"
image: "docker:20.10.17"
pull: if-not-exists
environment:
DOCKER_HOST: tcp://docker:2375
REGISTRY: code.pztrn.name
REGISTRY_USER: drone
REGISTRY_PASSWORD: