apt-get install in Ubuntu 16.04 docker image: '/etc/resolv.conf': Device or resource busy
问题 I'm getting the error message below when running apt-get install from within a rather vanilla Ubuntu 16.04 image: ln: cannot remove '/etc/resolv.conf': Device or resource busy dpkg: error processing package resolvconf (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: resolvconf The packages seem to be installed correctly, though. How to fix it? My Dockerfile looks like this: FROM ubuntu:16.04 MAINTAINER Me