When building a container based on the official 18.04/bionic docker image, It appears to be impossible to install manages. even if I explicitly install them, they do not appear to be on the file system.

My container ends up being an interactive environment, so i DO want manages.

How do I re-enable manage support inside a bionic container?

I need to do this in a non-interactive fashion.

  • Add your Dockerfile to the question, please. – muru Jun 20 '18 at 2:27
  • See this question and reverse the configurations askubuntu.com/questions/628407/… – Panther Jun 20 '18 at 3:12
  • Thank you @Panther, the above solved my issue specifically: if [ -f /etc/dpkg/dpkg.cfg.d/excludes ]; then rm /etc/dpkg/dpkg.cfg.d/excludes; bash -c " apt install --reinstall $(dpkg -l | grep ii | cut -d ' ' -f 3 | tr '\n' ' ')"; fi – user2166700 Jun 28 '18 at 0:30
  • Post that as an answer – Panther Jun 28 '18 at 0:49

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.