Cannot install packages inside docker Ubuntu image

前端 未结 6 762
生来不讨喜
生来不讨喜 2020-12-07 06:48

I installed Ubuntu 14.04 image on docker. After that, when I try to install packages inside the ubuntu image, I\'m getting unable to locate package error:

a         


        
6条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 07:41

    I found that mounting a local volume over /tmp can cause permission issues when the "apt-get update" runs, which prevents the package cache from being populated. Hopefully, this isn't something most people do, but it's something else to look for if you see this issue.

提交回复
热议问题