Docker.io for Windows [英] Docker.io for Windows

查看:132
本文介绍了Docker.io for Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读有关docker的一个很好的问题 - 答案总结了码头工程实施细节。我想知道在Windows平台上是否有可能这样做。

I was reading a nice question about docker - answer has overview of docker implementation details. I was wondering if anything like this is possible to do on Windows platform.


  • 是否存在Docker的Windows选项?

  • 理论上可以使用其他(基于Windows的)组件来构建它吗?

Update1

  • Slightly related question (sandboxing): Is there a lightweight, programmable Sandbox API for the Windows platform?

Update2:

有关如何安装docker的信息窗口(不相关) - 官方文档有很好的说明如何设置环境通过使用boot2docker VM。

For info how to install docker on windows (unrelated) - official docs has great instructions how to set up the environment by using boot2docker VM.

推荐答案

您可以在虚拟机中运行docker。

Vagrant现在已经集成了Docker支持。它可以用作提供者或作为提供者。以下是一些有用的链接。

Vagrant has now integrated docker support. It can be used as provider or as provisioner. Here are some useful links.

由于seanf在下面的评论中指出,Vagrant的支持被删除。而是指向 boot2docker

As seanf pointed out in a comment below, Vagrant support was dropped. Instead they point to boot2docker:


boot2docker是一个基于Tiny Core
的轻量级Linux发行版,专门用于运行Docker容器。它从RAM运行完全
,重量约24MB,并在5秒内启动(YMMV)。

boot2docker is a lightweight Linux distribution based on Tiny Core Linux made specifically to run Docker containers. It runs completely from RAM, weighs ~24MB and boots in ~5s (YMMV).



旧答案



官方的Docker文档包含一个小型指南,用于在Docker Vagrant框内安装Docker。 Vagrant 是一个伟大的vm管理包装。本指南适用于Mac / Linux,但您可以在Windows中执行此操作:

Old answer

The official docker documentation contains a small guide to install docker inside a Vagrant box. Vagrant is a great vm management wrapper. The guide is for Mac/Linux, but you get the idea to do the same in Windows:

http://docs.docker.io/en/latest/installation/vagrant/

这样,您可以在具有不同操作系统的多个系统中共享Docker映像。

This way you can share docker images across multiple systems with different operating systems.

这篇关于Docker.io for Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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