Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
@xlui

This comment has been minimized.

Copy link

@xlui xlui commented Nov 21, 2018

๐Ÿ‘ nice!

@dv-blk

This comment has been minimized.

Copy link

@dv-blk dv-blk commented Nov 22, 2018

Thank you!

@MrMaester

This comment has been minimized.

Copy link

@MrMaester MrMaester commented Nov 23, 2018

Thanks!

@kkallday

This comment has been minimized.

Copy link

@kkallday kkallday commented Nov 25, 2018

THANKS!

@sgoranson

This comment has been minimized.

Copy link

@sgoranson sgoranson commented Nov 26, 2018

๐Ÿ’ƒ ๐Ÿ‘

@eggman64

This comment has been minimized.

Copy link

@eggman64 eggman64 commented Nov 27, 2018

๐Ÿ‘

@dbuades

This comment has been minimized.

Copy link

@dbuades dbuades commented Nov 27, 2018

Thanks!

@macpijan

This comment has been minimized.

Copy link

@macpijan macpijan commented Nov 27, 2018

Excellent. Deserved first google entry.

@ssnelgrove314

This comment has been minimized.

Copy link

@ssnelgrove314 ssnelgrove314 commented Nov 27, 2018

HAHA! Fixed my issue. +1 internets to you good sir!

@turkishviking

This comment has been minimized.

Copy link

@turkishviking turkishviking commented Nov 28, 2018

โค๏ธ

@dimmg

This comment has been minimized.

Copy link

@dimmg dimmg commented Nov 29, 2018

Thanks!

@zinovyev

This comment has been minimized.

Copy link

@zinovyev zinovyev commented Nov 29, 2018

Thanks a lot! ๐Ÿ‘

@JarJak

This comment has been minimized.

Copy link

@JarJak JarJak commented Dec 1, 2018

Thank you

@LucaFeger

This comment has been minimized.

Copy link

@LucaFeger LucaFeger commented Dec 2, 2018

I am using the docker image java:8 and sudo isn't available so I tried to run it without sudo.
Now the output is

tee: /sys/module/overlay/parameters/metacopy: Read-only file system

and the docker build stops with a non-zero exit code (1)

@jtraulle

This comment has been minimized.

Copy link

@jtraulle jtraulle commented Dec 2, 2018

Thanks ๐Ÿ’•

@mauromsl

This comment has been minimized.

Copy link

@mauromsl mauromsl commented Dec 3, 2018

@ashkann

This comment has been minimized.

Copy link

@ashkann ashkann commented Dec 3, 2018

Worked +1

@jamyouss

This comment has been minimized.

Copy link

@jamyouss jamyouss commented Dec 6, 2018

Thanks ๐Ÿ‘

@MightyPork

This comment has been minimized.

Copy link

@MightyPork MightyPork commented Dec 8, 2018

you're a hero

@meyerson

This comment has been minimized.

Copy link

@meyerson meyerson commented Dec 8, 2018

๐Ÿ‘

@tjcim

This comment has been minimized.

Copy link

@tjcim tjcim commented Dec 8, 2018

Thanks!

@ilstam

This comment has been minimized.

Copy link

@ilstam ilstam commented Dec 10, 2018

thanks!!

@dudasaron

This comment has been minimized.

Copy link

@dudasaron dudasaron commented Dec 11, 2018

๐Ÿ‘

@swadeshp

This comment has been minimized.

Copy link

@swadeshp swadeshp commented Dec 11, 2018

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

@ZyqGitHub1

This comment has been minimized.

Copy link

@ZyqGitHub1 ZyqGitHub1 commented Dec 15, 2018

Thanks!

@Leonz3n

This comment has been minimized.

Copy link

@Leonz3n Leonz3n commented Dec 15, 2018

Thanks!!!

@bradmccormack

This comment has been minimized.

Copy link

@bradmccormack bradmccormack commented Dec 17, 2018

I found this straight away. Thank you!

@qmeeus

This comment has been minimized.

Copy link

@qmeeus qmeeus commented Dec 17, 2018

YEAH! Just brilliant

@MattBlack85

This comment has been minimized.

Copy link

@MattBlack85 MattBlack85 commented Dec 17, 2018

saved my day

@48ca

This comment has been minimized.

Copy link

@48ca 48ca commented Dec 18, 2018

Thank you!

@4goettma

This comment has been minimized.

Copy link

@4goettma 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

This comment has been minimized.

Copy link

@antpk 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

This comment has been minimized.

Copy link

@joseluisq joseluisq commented Jan 5, 2019

For more details: docker/for-linux#480

@snorkellingcactus

This comment has been minimized.

Copy link

@snorkellingcactus snorkellingcactus commented Feb 28, 2019

Capoo

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Apr 11, 2019

Thanks!

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