Docker Community Forums

Share and learn in the Docker community.

Docker fail building image on new linux kernel


(He4d) #1

I notice that i can’t build my images after updated my linux system(manjaro) to kernel 4.19.1-1. My build is failing on:
`dpkg: error: error creating new backup file ‘/var/lib/dpkg/status-old’: Invalid cross-device link
E: Sub-process /usr/bin/dpkg returned an error code (2)

Images that I’m using are based on ubuntu.16.04. I tried to build them using 18.04 but result is the same, but after I downgraded kernel back to 4.18 i can build image without any problems. Any ideas how to fix it to make it works on kernel 4.19?

(Ejprice) #2

I can confirm I’m having the same problem on 4.19.1

(bOnepain) #3

I also confirm this issue. Solved by downgrading the kernel to 4.18.16.

(Cristian Alberto Sánchez Trujillo) #4

confirm downgrade to 4.18.16 fixed issue.