从外行人的角度了解码头工人 [英] Understanding docker from a layman point of view

查看:131
本文介绍了从外行人的角度了解码头工人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是一天到码头工作,所以对我来说比较新。



我读了docker.io,但无法得到几个基本问​​题的答案。这是它是什么:


  1. Docker基本上是一个工具,它允许您使用图像,并通过以下方式旋转自己的自定义图像安装软件,以便您可以使用该软件创建虚拟机。

这是一个从10000英尺鸟瞰的码头眺望?



2。容器的意思究竟是什么?是图像的同义词吗?



3。我记得阅读某处可以让你部署应用程序。它是否正确 ?换句话说,它的行为就像IIS一样部署.net应用程序?



请回答我上面的问题,以便我能更好地理解它并将其推向前进。 p>

解决方案


1)从一个10000英尺的鸟瞰来看,码头是什么码头? >

从网站: Docker是一个开源引擎,可将任何应用程序的部署自动化为轻量级,便携式,自给自足的容器几乎可以在任何地方运行。



详细解释一下Docker所处理的原因:





可以在技术文档中找到更深入的内容:






2)容器的含义究竟是什么?图像是图像的同义词吗?


图像是构建并可以移动的图层集合。图片是只读的。





一个容器是一个活动(或非活动的,如果退出)图像的有状态实例。





另请参见:在Docker中,容器和图像有什么区别?


3)我记得在某处可以让你部署应用程序。它是否正确 ?换句话说,它会像IIS一样部署.net应用程序?


是的,Docker可以用于部署应用程序。您可以在容器中部署应用程序堆栈的单个组件或多个组件。这取决于用例。请参阅与Docker 页面的第一步: http ://docs.docker.io/use/basics/



另请参见:




I am just one day old to docker , so it is relatively very new to me .

I read the docker.io but could not get the answers to few basic questions . Here is what it is:

  1. Docker is basically a tool which allows you to make use of the images and spin up your own customised images by installing softwares so that you can use to create the VMs using that .

Is this what docker is all about from a 10000 ft bird's eye piont of view?

2 . What exactly is the meaning of a container ? Is it synonymn for image?

3 . I remember reading somewhere that it allows you to deploy applications. Is this correct ? In other words will it behave like IIS for deploying the .net applications?

Please answer my questions above , so that I can understand it better and take it forward.

解决方案

1) What docker is all about from a 10000 ft bird's eye point of view?

From the website: Docker is an open-source engine that automates the deployment of any application as a lightweight, portable, self-sufficient container that will run virtually anywhere.

Drill down a little bit more and a thorough explanation of the what/why docker addresses:

Further depth can be found in the technology documentation:

2) What exactly is the meaning of a container ? Is it synonymn for image?

An image is the set of layers that are built up and can be moved around. Images are read-only.

A container is an active (or inactive if exited) stateful instantiation of an image.

See also: In Docker, what's the difference between a container and an image?

3)I remember reading somewhere that it allows you to deploy applications. Is this correct ? In other words will it behave like IIS for deploying the .net applications?

Yes, Docker can be used to deploy applications. You can deploy single components of the application stack or multiple components within a container. It depends on the use case. See the First steps with Docker page here: http://docs.docker.io/use/basics/

See also:

这篇关于从外行人的角度了解码头工人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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