summaryrefslogtreecommitdiff
path: root/Docker-in-docker.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-06-16 10:44:49 +0200
committerJasper Ras <jras@hostnet.nl>2025-06-16 10:44:49 +0200
commit0d389e1d6c1aed4a92f82d9711f4564a12390fcd (patch)
treeca4925547669a045d836c2aeb6d4b2309c3f5996 /Docker-in-docker.md
parent32422d2b9001291d7136036581122cf4b4eec75c (diff)
vault backup: 2025-06-16 10:44:49
Diffstat (limited to 'Docker-in-docker.md')
-rw-r--r--Docker-in-docker.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/Docker-in-docker.md b/Docker-in-docker.md
new file mode 100644
index 0000000..9a2eae4
--- /dev/null
+++ b/Docker-in-docker.md
@@ -0,0 +1,13 @@
+[[Use YAML anchors to reuse scripts in Gitlab CI]]
+
+**To use docker-in-docker** we need to specify a tag, a service and a specific image:
+```
+ tags:
+ - docker-in-docker
+ image: harbor.one.com/docker-hub/library/docker:latest
+ services:
+ - docker:dind
+```
+
+> It's not possible with a custom CI image afaik, so everything needs to run inside a docker container.
+