Docker fails to build image on Windows for example app

梦想的初衷 提交于 2019-12-10 20:04:46

问题


https://docs.docker.com/get-started/part2/#dockerfile

Windows 10 Pro docker version 18.06.0-ce

after running docker build -t friendlyhello I get following error:

Sending build context to the docker daemon 5.12 KB Step 1/7: FROM python :2.7-slim 2.7-slim : Pulling from library\python no matching manifest for unknown in the list of entries


回答1:


I had this same issue on Windows 10. I could continue following the next steps:

  • Right click Docker instance
  • Go to Settings
    • Daemon
    • Advanced
      • Set the experimental: true

This will restart Docker and let you continue pal.



来源:https://stackoverflow.com/questions/51757122/docker-fails-to-build-image-on-windows-for-example-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!