-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
all: support docker://
with dind
#215
base: master
Are you sure you want to change the base?
Conversation
e430a49
to
f7b81d8
Compare
docker://
with Dinddocker://
with dind
COPY --from=atlas /usr/local/bin/atlas /usr/local/bin | ||
RUN chmod +x /usr/local/bin/atlas | ||
ENV ATLAS_KUBERNETES_OPERATOR=1 | ||
COPY --from=docker /usr/local/bin/docker /usr/local/bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not simply run apk add docker
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to version the docker
cli, also need only one binary. Nothing else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw, I'm not sure if we should bundle docker-cli with the default image, or create a separated tag for dind
support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second option sounds reasonable
metadata: | ||
name: atlasschema-postgres | ||
spec: | ||
devURL: docker://postgres/15/dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is impossible before this PR.
image: docker:27.3.1-dind-rootless | ||
securityContext: | ||
privileged: true | ||
runAsGroup: 1000 | ||
runAsUser: 1000 | ||
volumeMounts: | ||
- name: dind-sock | ||
mountPath: /run/user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe replace dind
with nerdctl
to interactive directly with containerd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.