使用 docker for windows 工具箱切换到 windows 容器 [英] Switch to windows containers with docker for windows toolbox

查看:118
本文介绍了使用 docker for windows 工具箱切换到 windows 容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 windows 7 64 位操作系统上安装了 windows 工具箱的 docker.我无法使用 docker 菜单切换到 Windows 容器,因为 docker 图标在系统托盘中不可用.Docker 服务也不可用.Docker CLI 可执行文件在任何文件夹中都不可用.但是 docker 命令正在运行,并且正在创建简单的容器.

I have installed docker for windows toolbox on windows 7 64 bit os. I am unable to switch to windows container using docker menu as the docker icon is not available in systray. Docker service is also not available. Docker CLI executable isn't available on any folder. However docker commands are working and simple containers are getting created.

对于如何切换到 Windows 容器的任何建议将不胜感激.

Any suggestions for how to switch to windows containers will be appreciated.

推荐答案

Docker 工具箱包括用于在 Linux VM 内运行 docker 的 docker 机器.无法通过此安装运行本机 Windows 容器.

Docker toolbox includes docker machine to run docker inside of a Linux VM. There is no option to run native Windows containers with this install.

要运行本地 Windows 容器,您需要在 Windows 10 或 Server 2016 上安装基于 HyperV 的安装:https://docs.docker.com/docker-for-windows/install/

To run native Windows containers, you need a HyperV based install on Windows 10 or Server 2016: https://docs.docker.com/docker-for-windows/install/

这篇关于使用 docker for windows 工具箱切换到 windows 容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆