Skip to content

Commit 3bcb8b9

Browse files
committed
fix: use moby namespace for containerd by default in dind
1 parent 0eb4c44 commit 3bcb8b9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o unregistry ./cmd/unregistr
1616
FROM docker:28.2.2-dind AS unregistry-dind
1717

1818
ENV UNREGISTRY_CONTAINERD_SOCK="/run/docker/containerd/containerd.sock"
19-
# dind uses 'default' namespace for containerd by default instead of 'moby' used by Docker Engine.
20-
ENV UNREGISTRY_CONTAINERD_NAMESPACE="default"
2119

2220
COPY scripts/dind-entrypoint.sh /usr/local/bin/entrypoint.sh
2321
COPY --from=builder /build/unregistry /usr/local/bin/

0 commit comments

Comments
 (0)