-
Notifications
You must be signed in to change notification settings - Fork 39
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
Error: EXDEV: cross-device link not permitted, rename #852
Comments
@pkennedyr @borjaburgos , any ideas why this may be? Seems to be intermittent. |
I've systematicly the same error since october, 12, building a node api EXDEV: cross-device link not permitted, rename '/tmp/src/node_modules/babel-runtime' -> '/tmp/src/node_modules/.babel-runtime.DELETE' all the js versions of my packages are fixed. before october, 12 I had no problem to build my image |
@juicelink do you mean October 12? |
Yes, sorry. Edited |
@juicelink can you provide the docker repo where this is happening? I have the feeling that this is a 1.12 regression, but we need to investigate further. Having a dockerfile that consistently incurs in this error will help to troubleshot and to find a fix. |
@pchico83 it's a private repo. I'll try to reproduce in a public one and come back to you |
@juicelink if I have the docker repo where this is happening, I should be able to reproduce it. |
@pchico83 here's a repo with the issue: juicelink/test-cross-device-link I've rewritten my Dockerfile to avoid the issue. I run now just 1 npm install (dev env) to build from the sources then npm prune (prod env) to get only my production modules |
@juicelink I am investigating it, but looks like an engine issue and probably the fix won't be available until docker 1.13 is released. Thanks for helping to troubleshot the issue. |
@juicelink looks like an issue with |
@juicelink there is also some good information at npm/npm#9863 The tl;dr is npm combined with docker has problems when you try to move files in one layer to a path that exists in a previous layer (i.e. override one RUN command with another RUN command). So a good tip is to try to do both installations in a single RUN command like
I've tested with the example build you gave here and it worked. |
We are clearing up our old issues and your ticket has been open for one year with no activity. Remove stale label or comment or this will be closed in 15 days. |
I'm getting this error in docker cloud, but not in quay.io . Quay builds perfectly. I don't know what a cross-device link is, in docker context.
The full error is:
Error: EXDEV: cross-device link not permitted, rename '/opt/meteor/dist/bundle' -> '/opt/meteor/dist/bundle-garbage-14tplr2'
The text was updated successfully, but these errors were encountered: