docker 初探之简单安装 ----Windows10
2016-12-21 17:01
591 查看
报错一
$ docker run hello-world Unable to find image 'hello-world:latest' locally Pulling repository docker.io/library/hello-world K:\Docker Toolbox\docker.exe: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy.. See 'K:\Docker Toolbox\docker.exe run --help'.
打开Docker Quickstart Terminal
#docker-machine ssh default #sudo vi /var/lib/boot2docker/profile export 'HTTPS_PROXY=http://PROXY:PORT' docker@default:~$ sudo /etc/init.d/docker restart Need TLS certs for default,127.0.0.1,10.0.2.15,192.168.99.100 docker@default:~$ exit
报错二
#docker build -t docker-whale . unable to prepare context: unable to evaluate symlinks in Dockerfile path: GetFileAttributesEx C:\Users\Administrator\Desktop\testdocker\Dockerfile: The system cannot find the file specified.
解决方法
docker build -t docker-whale -f /Dockerfiler .
如果当时建的文件是Dockerfile应该就不会出现这个问题了,如果不是就要自己指定一下文件名称
相关文章推荐
- windows 10 下安装mysql 5.7.17的简单笔记
- Windows 10 安装 Docker for Windows
- windows 10 下安装mysql 5.7.17的简单笔记
- Docker在Windows系统下的安装及简单使用介绍
- Windows10 使用docker toolbox安装docker
- Windows 10 下 MongoDB初探--安装和启动
- Docker在Windows系统下的安装及简单使用介绍
- 【Docker 在 windows 10 / windows 8 下安装】
- 最简单的Windows驱动程序编译、安装、运行、卸载
- windows下硬盘安装mint10
- Windows 2008系统上安装Nero 10的方法
- Windows下离线安装Android SDK的简单方法
- 在 windows 下安装和简单配置 trac 0.12
- 实践与交流:无光驱、无光盘成功安装Windows Vista /Server 2008 /Windows 7的简单方法
- 在 windows 下安装和简单配置 trac 0.12
- 在 windows 下安装和简单配置 trac 0.12
- Android SDK Windows安装简单教程.docx
- 借助XAMPP安装Mantis(Mantis for Windows)_最简单适用