docker简介_Docker简介

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概念,并将探讨如何使用:

  • Docker Images

    Docker映像

  • Docker Containers

    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!

以及更多!

翻译自: https://flaviocopes.com/docker-introduction/

docker简介

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值