Skip to content

Instantly share code, notes, and snippets.

@Francesco149
Last active October 27, 2023 08:51
Show Gist options
  • Save Francesco149/ce376cd83d42774ed39d34816b9e21db to your computer and use it in GitHub Desktop.
Save Francesco149/ce376cd83d42774ed39d34816b9e21db to your computer and use it in GitHub Desktop.
docker error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
@ashkann
Copy link

ashkann commented Dec 3, 2018

Worked +1

@jamyouss
Copy link

jamyouss commented Dec 6, 2018

Thanks 👍

@MightyPork
Copy link

you're a hero

@meyerson
Copy link

meyerson commented Dec 8, 2018

👍

@tjcim
Copy link

tjcim commented Dec 8, 2018

Thanks!

@ilstam
Copy link

ilstam commented Dec 10, 2018

thanks!!

@dudasaron
Copy link

👍

@swadeshp
Copy link

Thank you! Kind human.
I was wandering in the dark for so long to fix this.

@ZyqGitHub1
Copy link

Thanks!

@Leonz3n
Copy link

Leonz3n commented Dec 15, 2018

Thanks!!!

@bradmccormack
Copy link

I found this straight away. Thank you!

@qmeeus
Copy link

qmeeus commented Dec 17, 2018

YEAH! Just brilliant

@MattBlack85
Copy link

saved my day

@48ca
Copy link

48ca commented Dec 18, 2018

Thank you!

@4goettma
Copy link

4goettma commented Dec 19, 2018

No luck. Ubuntu:16.04 as well as debian:stretch-slim. Any idea?

Step 3/13 : RUN echo N | tee /sys/module/overlay/parameters/metacopy
 ---> Running in xxxxxxxxxxxx
tee: /sys/module/overlay/parameters/metacopy: Read-only file system
N
The command '/bin/sh -c echo N | tee /sys/module/overlay/parameters/metacopy' returned a non-zero code: 1

@antpk
Copy link

antpk commented Dec 19, 2018

No luck. Ubuntu:16.04 as well as debian:stretch-slim. Any idea?

Step 3/13 : RUN echo N | tee /sys/module/overlay/parameters/metacopy
 ---> Running in xxxxxxxxxxxx
tee: /sys/module/overlay/parameters/metacopy: Read-only file system
N
The command '/bin/sh -c echo N | tee /sys/module/overlay/parameters/metacopy' returned a non-zero code: 1

Initially, I thought it was inside the docker image that needed to be placed, but its actually on the host that you need to run the command

@joseluisq
Copy link

For more details: docker/for-linux#480

@snorkellingcactus
Copy link

Capoo

Copy link

ghost commented Apr 11, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment