-
Notifications
You must be signed in to change notification settings - Fork 897
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
Problem with docker in docker dind #2232
Comments
backtrace
The same error occurs with debian base images so it's not an alpine thing. I could replicate the problem with: FROM rust:1.41.0-slim-buster
RUN echo 'fn main() { std::fs::rename("/tmp/old", "/tmp/new").unwrap(); }' > demo.rs \
&& rustc demo.rs
RUN mkdir /tmp/old
RUN /demo strace revealed One option would be to try |
|
@kinnison I think I see, that lame we don't have a better error message from std. |
I have a project that use rust, we use gitlab, our workflow use dind, long story short, I wanted to test when
rustfmt --check
fail. So, I add rustfmt component, then I wanted to remove it because it was not strickly needed in the final image, I don't know if it a good practice or not but my problem is not here.Dockerfile (should reproduce the problem):
I get the following error:
with (removed some information):
As you can see
error: caused by: other os error
is not self describing, before create a docker issue I wanted to ask here. Note that I changed all the pipeline process anyway so this bug is not a problem for me.I think its because dind image is based on alpine that doesn't have rename.
The text was updated successfully, but these errors were encountered: