# Docker使用中的常见问题

# docker build question no permission to read from

Dockerfile构建镜像时报错docker build question no permission to read from

sudo docker build . -t django-demo
# error checking context: 'no permission to read from '/home/benny/.ICEauthority''

解决方案:

新建一个目录,并将Dockerfile放置到新建的目录中,切换路径到新目录,再执行构建命令:

sudo docker build . -t django-demo
(adsbygoogle = window.adsbygoogle || []).push({});