博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
docker简介_Docker简介
阅读量:2506 次
发布时间:2019-05-11

本文共 3398 字,大约阅读时间需要 11 分钟。

docker简介

Docker is one of the tools that revolutionized how we deploy applications and how we also distribute them.

Docker是彻底改变我们部署应用程序以及分发方式的工具之一。

It’s also a technology in high demand and high consideration, loved by the vast majority of its users, and it’s a great skill to have in your curriculum.

这也是一项受到高要求和高度重视的技术,受到其绝大多数用户的喜爱,并且在您的课程中具有很高的技巧。

Using Docker we can create a container that will wrap an entire application.

使用Docker,我们可以创建一个包装整个应用程序的容器。

More than that: it can wrap entire applications, and it can be saved to an image to be easily replicated.

不仅如此:它可以包装整个应用程序,并且可以保存到映像中以方便复制。

Replication is the key term here. Using Docker we can create an isolated environment that runs in your computer, in your clients computers, on your server, anywhere, and it will use specific versions of the software we want it to run.

复制是此处的关键术语。 使用Docker,我们可以创建一个隔离的环境,该环境可以在您的计算机,客户端计算机,服务器,任何地方运行,并且将使用我们希望其运行的特定版本的软件。

This helps solve an entire class of problems that derive from misconfiguration and versions mismatching between different environments.

这有助于解决由于不同环境之间的配置错误和版本不匹配而引起的整个问题。

Docker is complex, but I think it deals with many complex topics, in a relatively user friendly way.

Docker很复杂,但我认为它以相对用户友好的方式处理许多复杂的主题。

This is why “getting it” can remove a lot of complexity out of your life as a developer, both as a creator of software and as a consumer of software.

这就是为什么“获得它”可以消除您作为开发人员(包括软件的创建者和软件的使用者)的许多复杂性的原因。

No more “but it works on my machine”. You don’t need to say that any more, and you don’t need to be told so any more.

不再需要“但是它可以在我的机器上运行”。 您不需要再说了,也不需要再被告知。

We all know debugging is hard, and it’s super hard when something works on an all the environments you tested and it does not work in some weird configuration. There are simply too many moving parts.

我们都知道调试是很困难的,并且当某种东西在您测试的所有环境中都可以工作并且在某些奇怪的配置中无法工作时,调试就变得非常困难。 只是有太多的运动部件。

Docker is also great for distributing a software you create but you don’t want to deal with the countless support requests that come from people trying to install it on all the possible Web servers and setups.

Docker也非常适合分发您创建的软件,但是您不想处理试图将其安装在所有可能的Web服务器和设置上的人们的无数支持请求。

I know Discourse, the popular forum application, relies heavily on Docker. I can’t find the reference now but I’m pretty sure I read they only supported problems happening with installation running the official Docker image. I could be wrong here, but the idea does not sounds crazy: if you as a programmer can create an image that works anywhere you can deploy a docker container, then it’s something you as a user should definitely take advantage.

我知道流行的论坛应用程序Discourse严重依赖Docker。 我现在找不到参考,但是我很确定我读过它们仅支持运行官方Docker映像进行安装时发生的问题。 我在这里可能是错的,但是这个想法听起来并不疯狂:如果您作为程序员可以创建可在任何地方部署的镜像,并且可以部署Docker容器,那么作为用户,您一定应该利用它。

Another big benefit of Docker is being able to run multiple applications running different versions of the same stack, something that would be hard or at least confusing without a similar solution.

Docker的另一个重大好处是能够运行多个应用程序,这些应用程序运行同一堆栈的不同版本,如果没有类似的解决方案,这将很难或至少会造成混乱。

In the next tutorials we will introduce several Docker concepts and we’ll explore how to work with:

在接下来的教程中,我们将介绍几个Docker概念,并将探讨如何使用:

  • Dockerfiles

    Dockerfiles
  • Running containerized applications

    运行容器化的应用程序
  • How to use volumes to store data outside of a container

    如何使用卷在容器外部存储数据
  • How to publish your images

    如何发布图片
  • How to run containers in the Cloud

    如何在云端运行容器

and much more!

以及更多!

翻译自:

docker简介

转载地址:http://yxmgb.baihongyu.com/

你可能感兴趣的文章
.Net Excel导出标准格式,Excel导入
查看>>
海量jQuery插件
查看>>
构建之法 学习笔记02
查看>>
碉堡了!android rom 刷机包可以这么赚钱
查看>>
ASP.NET MVC中的统一化自定义异常处理
查看>>
基于.net的aop实现技术
查看>>
桦仔 笔记7-徐 SQLSERVER日志记录机制
查看>>
下滑线驼峰互转
查看>>
Xcode 快捷键
查看>>
table_open_cache
查看>>
Java中super的几种用法并与this的区别
查看>>
C#利用NPOI操作Excel文件
查看>>
彻底了解指针数组,数组指针,以及函数指针 .
查看>>
浏览器兼容问题【转】
查看>>
python编程 之 PyMysql包接口,python中如何使用数据库
查看>>
WinForm 简单蒙版实现控件遮盖
查看>>
ASP.NET MVC ValueProvider小结
查看>>
ES6之路第二篇:变量的解构赋值
查看>>
iOS6新特征:UICollectionView介绍
查看>>
分享一个基于Bootstrap的 ACE框架 入门(MVC+EF)
查看>>