Skip to content

Instantly share code, notes, and snippets.

@Francesco149
Last active October 27, 2023 08:51
Show Gist options
  • Select an option

  • Save Francesco149/ce376cd83d42774ed39d34816b9e21db to your computer and use it in GitHub Desktop.

Select an option

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
@4goettma
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

For more details: docker/for-linux#480

@snorkellingcactus
Copy link
Copy Markdown

Capoo

Copy link
Copy Markdown

ghost commented Apr 11, 2019

Thanks!

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