您现在的位置是:首页 > 电脑学习教程 > Docker教程 > 文章正文 Docker教程
【保姆级教程】Docker入门到实战教程之四:Win 7/8安装Docker!
西安SEO优化
2021-02-24 15:36:44
Docker教程
人已围观
简介上一节我们讲解了《Docker入门到实战教程之三:Windows 10安装Docker!》,教程讲的有点绕,多看几遍就好,本章我们继续讲解Win 7 8如何安装Docker,win7 8相对win10比较简单,也很容易安装,接下来就一起跟西安SEO优化站长一起往下看。
本章概述:
万晓博SEO推荐服务器:
上一节我们讲解了《Docker入门到实战教程之三:Windows 10安装Docker!》,教程讲的有点绕,多看几遍就好,本章我们继续讲解Win 7/8如何安装Docker,win7/8相对win10比较简单,也很容易安装,接下来就一起跟西安SEO优化站长一起往下看。
Win 7/8安装Docker教程
win7、win8 等需要利用 docker toolbox 来安装,国内可以使用阿里云的镜像来下载,下载地址:http://mirrors.aliyun.com/docker-toolbox/windows/docker-toolbox/
安装比较简单,双击运行,点下一步即可,可以勾选自己需要的组件:

docker toolbox 是一个工具集,它主要包含以下一些内容:
1、Docker CLI - 客户端,用来运行 docker 引擎创建镜像和容器。
2、Docker Machine - 可以让你在 Windows 的命令行中运行 docker 引擎命令。
3、Docker Compose - 用来运行 docker-compose 命令。
4、Kitematic - 这是 Docker 的 GUI 版本。
5、Docker QuickStart shell - 这是一个已经配置好Docker的命令行环境。
6、Oracle VM Virtualbox - 虚拟机。
下载完成之后直接点击安装,安装成功后,桌边会出现三个图标,如下图所示:

点击 Docker QuickStart 图标来启动 Docker Toolbox 终端。
如果系统显示 User Account Control 窗口来运行 VirtualBox 修改你的电脑,选择 Yes。

最后我们输入一下命令来执行
- $ docker run hello-world
- Unable to find image 'hello-world:latest' locally
- Pulling repository hello-world
- 91c95931e552: Download complete
- a8219747be10: Download complete
- Status: Downloaded newer image for hello-world:latest
- Hello from Docker.
- This message shows that your installation appears to be working correctly.
- To generate this message, Docker took the following steps:
- 1. The Docker Engine CLI client contacted the Docker Engine daemon.
- 2. The Docker Engine daemon pulled the "hello-world" image from the Docker Hub.
- (Assuming it was not already locally available.)
- 3. The Docker Engine daemon created a new container from that image which runs the
- executable that produces the output you are currently reading.
- 4. The Docker Engine daemon streamed that output to the Docker Engine CLI client, which sent it
- to your terminal.
- To try something more ambitious, you can run an Ubuntu container with:
- $ docker run -it ubuntu bash
- For more examples and ideas, visit:
- https://docs.docker.com/userguide/
本章总结:
以上就是《【保姆级教程】Docker入门到实战教程之四:Win 7/8安装Docker!》的全部内容,教程很简单,但是越简答的事情越容易出问题,大佬也讲过,什么是大佬,大佬就是把最简单的事情做到极致就是大佬。更多Docker相关干货还请继续关注本网站Docker板块。
万晓博SEO推荐服务器:

相关文章
文章评论
点击排行
站长推荐
标签云
猜你喜欢
站点信息
打赏本站
- 如果你觉得本站很棒,可以通过扫码支付打赏哦!
- 微信扫码:你说多少就多少~
- 支付宝扫码:你说多少就多少~