当前位置: 首页 > 编程日记 > 正文

devops和docker_通过免费的2小时Docker课程学习DevOps基础知识

devops和docker

Docker is a powerful DevOps tool for putting your apps into "containers."

Docker是功能强大的DevOps工具,可将您的应用程序放入“容器”中。

You can run these same containers anywhere - on your laptop, on a server - even on a smart refrigerator if you want to.

您可以在任何地方运行这些相同的容器,无论是在便携式计算机上还是在服务器上,甚至可以在智能冰箱上运行。

And everywhere you run a container, the environment - and all its dependencies - will be identical.

在运行容器的任何地方,环境及其所有依赖项都将是相同的。

This makes Docker ideal for running distributed applications.

这使Docker非常适合运行分布式应用程序。

This course will teach you Docker using a series of lectures with fun conceptual animations and illustrations.

本课程将通过一系列有趣的概念动画和插图教给您Docker。

And importantly, you'll be able to code along at home, right in your browser. The course includes an environment where you can tinker with Docker containers. You don't need to spin up your own servers or even install Linux yourself.

而且重要的是,您将可以在家中直接在浏览器中进行编码。 该课程包括一个可以修改Docker容器的环境。 您无需启动自己的服务器,甚至无需自己安装Linux。

您可以通过此免费的2小时课程学习以下概念和工具: (Here are some of the concepts and tools you'll learn through this free 2-hour course:)

  • What is Docker?

    什么是Docker?
  • How to install Docker

    如何安装Docker
  • Basic Docker Commands

    基本Docker命令
  • Docker Labs

    Docker实验室
  • The Run command

    运行命令
  • Docker Environment Variables

    Docker环境变量
  • How Docker Images work

    Docker映像如何工作
  • CMD VS ENTRYPOINT

    CMD VS入口点
  • Networking with Docker

    与Docker联网
  • Docker Storage

    Docker存储
  • How to use Docker Compose

    如何使用Docker Compose
  • The Docker Registry

    Docker注册表
  • How you can also use Docker on Windows and Mac (most people use it on Linux by default)

    您还可以在Windows和Mac上使用Docker的方式(大多数人默认在Linux上使用它)
  • How to use Docker on Mac

    如何在Mac上使用Docker
  • How to use Docker Swarm

    如何使用Docker Swarm
  • And a little bit about Kubernetes and container orchestration, too

    还有一点关于Kubernetes和容器编排的知识

You can watch the full video course on the freeCodeCamp.org YouTube channel (2 hour watch).

您可以在freeCodeCamp.org YouTube频道上观看完整的视频课程(观看2小时)。



如果您不熟悉Docker,请从freeCodeCamp指南中进一步了解Docker。 无论哪种方式,您仍然应该参加本课程 (Here's a bit more about Docker from the freeCodeCamp Guide, in case you're unfamiliar with it. Either way,  you should still do the course)

Docker is an open-source tool that gives you the ability to build containers for your apps.

Docker是一个开源工具,使您能够为应用程序构建容器。

It includes an operating system, libraries, and everything you need to run your application. Then you will be able to deploy that same exact application - and its entire environment and dependencies - onto any machine.

它包括操作系统,库以及运行应用程序所需的一切。 然后,您将能够将相同的应用程序及其整个环境和依赖项部署到任何计算机上。

Docker's lightweight structure lets you to run several containers on the same machine. A container image is a light-weight, stand-alone, executable package of a piece of software that includes everything needed to run it.

Docker的轻量级结构使您可以在同一台机器上运行多个容器。 容器映像是软件的轻量,独立,可执行软件包,其中包含运行该映像所需的一切。

Docker的核心功能 (Docker's Core Features)

Docker containers running on a single machine share that machine’s operating system kernel. They start instantly and use less computational power and RAM.

在单台机器上运行的Docker容器共享该机器的操作系统内核。 它们可以立即启动,并使用较少的计算能力和RAM。

Docker images are built out of filesystem layers, and are able to share common files. This minimizes the space these images take up on disk, and make these images a lot faster to download.

Docker映像是在文件系统层之外构建的,并且能够共享公共文件。 这样可以最大程度地减少这些图像在磁盘上的占用空间,并使这些图像的下载速度更快。

Docker containers are based on open standards, and run on all major *nix distributions (Unix, Linux, etc. - including MacOS), Microsoft Windows, and on any infrastructure including VMs, bare-metal, and in the cloud.

Docker容器基于开放标准,并且可以在所有主要的* nix发行版(Unix,Linux等-包括MacOS),Microsoft Windows以及任何基础架构(包括VM,裸机和云)上运行。

Docker containers isolate applications from one another and from the underlying infrastructure. Docker provides a strong default isolation, so you can limit any problems with your app to a single container instead of an entire machine.

Docker容器将应用程序与基础架构隔离。 Docker提供了强大的默认隔离功能,因此您可以将应用程序出现的任何问题限制在单个容器中,而不是整个机器上。

Container images are a lightweight, stand-alone, executable packages software that include everything you need to run it: code, runtime, system tools, system libraries, and settings.

容器映像是一种轻量级的,独立的,可执行的软件包,其中包括运行该映像所需的一切:代码,运行时,系统工具,系统库和设置。

Containerized software will always run the same, regardless of the environment.

无论环境如何,容器化软件都将始终运行相同的软件。

Containers isolate software from its surroundings. That is, the differences between development and staging environments.

容器将软件与其周围环境隔离。 也就是说,开发和暂存环境之间的差异。

Ultimately, Docker helps reduce conflicts between teams running different software on the same infrastructure.

最终,Docker可以帮助减少在同一基础架构上运行不同软件的团队之间的冲突。

关于容器的注释。 虚拟机 (A note on Containers Vs. Virtual Machines)

  • Containers virtualize the Operating System and make them more portable

    容器可以虚拟化操作系统,并使它们更具可移植性
  • Virtual Machines, by contrast, virtualize the hardware.

    相比之下,虚拟机虚拟化硬件。
  • Containers are an abstraction at the application layer that packages code and dependencies together. VMs are an abstraction of physical hardware turning one server into many.

    容器是应用程序层的抽象,它将代码和依赖项打包在一起。 VM是物理硬件的抽象,它将一台服务器变成许多台服务器。
  • Again, containers are not VMs.

    同样, 容器不是VM 。

Once again, I encourage you to take the full course. You can watch the full video course on the freeCodeCamp.org YouTube channel (2 hour watch).

再一次,我鼓励您参加整个课程。 您可以在freeCodeCamp.org YouTube频道上观看完整的视频课程(观看2小时)。

翻译自: https://www.freecodecamp.org/news/docker-devops-course/

devops和docker

相关文章:

生成24位字符串ID__IdGenerator.java

此工具类用于生成24位字符串ID,唯一不重复。 直接通过 IdGenerator.get() 获取。 源码如下:(点击下载源码 - IdGenerator.java ) 1 import java.net.NetworkInterface;2 import java.nio.ByteBuffer;3 import java.nio.ByteOrder;4 import java.util.Enu…

IDEA构建一个mybatis项目

目录结构如下&#xff1a; 在pom.xml中配置需要的jar包 <dependencies><dependency><groupId>org.mybatis</groupId><artifactId>mybatis</artifactId><version>3.3.0</version></dependency><dependency><gro…

小程序在canvas上层做图片滚动

实现该功能踩过的坑 1.swiper的swiper-item中image图片无法在canvas的上层显示&#xff0c;会被canvas 覆盖 2.swiper的swiper-item 里面放 cover-image 会样式错乱 3.scroll-view里面放 cover-image 会样式错乱 解决方案&#xff1a;使用CSS样式实现&#xff0c;超出部分隐…

React是如何在后台运行的

React is a very popular JavaScript library. With over 5.5 million weekly downloads, React is enjoying great popularity. But not a lot of React developers know how React works under the hood. React是一个非常流行JavaScript库。 每周的下载量超过550万&#xff0…

H5播放视频流

代码 <html> <head> <title>视频直播</title> <meta charset"utf-8"> <link href"http://vjs.zencdn.net/5.5.3/video-js.css" rel"stylesheet"> <!-- If youd like to support IE8 --> <!-…

获取Java系统相关信息

1 package com.test;2 3 import java.util.Properties;4 import java.util.Map.Entry;5 6 import org.junit.Test;7 8 public class SystemTest {9 10 /** 11 * 获取Java系统相关信息 12 * throws Exception 13 */ 14 Test 15 public void testSys…

如何使用FaunaDB + GraphQL

I have one or two projects I maintain on Netlify, in addition to hosting my blog there. It’s an easy platform to deploy to, and has features for content management (CMS) and lambda functions (by way of AWS).除了在其中托管我的博客外&#xff0c;我在Netlify上…

POJ 1414 Life Line(搜索)

题意&#xff1a; 给定一块正三角形棋盘&#xff0c;然后给定一些棋子和空位&#xff0c;棋子序号为a&#xff08;1<a<9)&#xff0c;group的定义是相邻序号一样的棋子。 然后到C&#xff08;1<N<9&#xff09;棋手在空位放上自己序号C的棋子&#xff0c; 放完后&a…

MySQL_数据库操作语句

ZC&#xff1a;数据库名/表名/字段名 都使用小写字母 1、 创建 数据库 和 表 的时候&#xff0c;都要指定 编码方式为 utf-8 ! ! ! 因为 执行命令“show variables like char%;”后可以看到 character_set_database 的值为 latin1&#xff0c;即 默认创建数据库是使用的 字符编…

H5打开预览PDF,PPT等文件

实现代码&#xff1a; pdfUrl 写你的文件路径 <iframe :src"//www.xdocin.com/xdoc?_functo&_formathtml&_cache1&_xdocpdfUrl"width"100%"height"100%"frameborder"0"> </iframe> 可以直接打开看

广播代码_代码广播:专为编码而设计的24/7音乐

广播代码阅读本文时&#xff0c;您可以继续阅读Code Radio。 (You can go ahead and start listening to Code Radio while you read this) Most developers I know listen to music while they code. When the meetings are over, the headphones come out.我认识的大多数开发…

从 Android 静音看正确的查bug的姿势?

0、写在前面 没抢到小马哥的红包&#xff0c;无心回家了&#xff0c;回公司写篇文章安慰下自己TT。。话说年关难过&#xff0c;bug多多&#xff0c;时间久了难免头昏脑热&#xff0c;不辨朝暮&#xff0c;难识乾坤。。。艾玛&#xff0c;扯远了&#xff0c;话说谁没踩过坑&…

SecureCRT中sqlplus,使用Backspace删除时 ^H^H

在“Session Options” - "Terminal" - "Mapped Keys" - "Other mappings"&#xff0c;选择“Backspace sends delete”。转载于:https://www.cnblogs.com/Clark-cloud-database/p/7813867.html

在vue中使用vuex,修改state的值示例

1、 安装 vuex npm install vuex -S 2、在目录下创建store文件 3、 在store.js编辑一个修改state的方法 然后在mian.js中全局引入 最后在组件中使用 这个的功能是运用mutations 修改state中的值

软件开发 自由职业_自由职业? 这里有7个可以出售软件开发服务的地方

软件开发 自由职业Web developers need clients. This is true whether you are a full-time freelancer or you freelance on the side.Web开发人员需要客户。 无论您是全职自由职业者&#xff0c;还是身旁的自由职业者&#xff0c;都是如此。 So if youve ever asked: "…

生成SSH key

1、打开终端&#xff0c;输入下面的代码 &#xff0c;注意&#xff1a;$your_email为占位符&#xff0c;此处输入你自己的email ssh-keygen -t rsa -C "$your_email" 2、查看生成的公钥&#xff0c;输入下面的代码 cat ~/.ssh/id_rsa.pub 3、复制公钥&#xff08;公钥…

[转载]二叉树(BST,AVT,RBT)

二叉查找树(Binary Search Tree)是满足如下性质的二叉树&#xff1a;①若它的左子树非空&#xff0c;则左子树上所有结点的值均小于根结点的值&#xff1b;②若它的右子树非空&#xff0c;则右子树上所有结点的值均大于根结点的值&#xff1b;③左、右子树本身又各是一棵二叉查…

Invalid Host header 问题解决

出现该问的原因&#xff1a; 因为新版的 webpack-dev-server 出于安全考虑&#xff0c;默认检查 hostname&#xff0c;如果hostname不是配置内的就不能访问。 解决办法&#xff1a;设置跳过host检查 打开你的项目全局搜索 devServer &#xff0c;在 devServer 里面添加 &quo…

react hooks使用_为什么要使用React Hooks?

react hooks使用The first thing you should do whenever youre about to learn something new is ask yourself two questions -每当您要学习新东西时&#xff0c;应该做的第一件事就是问自己两个问题- Why does this thing exist? 为什么这东西存在&#xff1f; What probl…

算法 - 字符串匹配

http://blog.csdn.net/linhuanmars/article/details/20276833 转载于:https://www.cnblogs.com/qlky/p/7817471.html

工作流入门链接

百度百科-工作流 http://baike.baidu.com/link?urlZjElBNByyZz_ItLtd_Uqt3Sadcwv0-4CDO806vKQWJDuUOFybbkzpg8GOB1EU71w8bT4x64RoRXBrFXa7o_dK 企业应用工作流的好处http://jingyan.baidu.com/article/90895e0fe9c56164ec6b0b24.html工作流管理的好处http://blog.sina.com.cn/…

uniapph5配置index.html模板路径不生效解决办法

很简单&#xff0c;关闭应用再重新启动试试&#xff0c;还不行的话&#xff0c;重启IDE

终端软件升级功能开发_5个很棒的终端技巧可帮助您升级为开发人员

终端软件升级功能开发There are plenty of beginner tutorials around that help you learn command line basics, such as cd, ls, pwd and so on...but what about that fancy magic youve seen more experienced developers use?周围有很多初学者教程可以帮助您学习命令行基…

自定义左右侧滑菜单

实现效果&#xff1a; 左右侧滑菜单&#xff0c;侧滑栏占主屏比为60%监听触控&#xff0c;自定义滑动动画&#xff0c;当侧边栏滑动超过50%松开触控将自动滑动到60%&#xff0c;未超过50%松开触控回归侧边栏隐藏为主屏设置蒙版效果&#xff0c;根据侧滑菜单的占屏比设置主屏蒙版…

uniapp设置模板路径页面样式混乱解决办法

乱了就在html里面加上下面这行代码试试 <link rel"stylesheet" href"<% BASE_URL %>static/index.css" /> <meta name"viewport" content"widthdevice-width, initial-scale1.0, user-scalableno, minimum-scale1.0, maxim…

JavaScript获取当前日期,昨天,今天日期以及任意天数间隔日期

<script language"JavaScript" type"text/javascript"> function GetDateStr(AddDayCount) { var dd new Date(); dd.setDate(dd.getDate()AddDayCount);//获取AddDayCount天后的日期 var y dd.getYear(); var m dd.getMonth()1;//获取当前月份…

snapd_snapd使管理Nextcloud变得轻而易举

snapdAs I’ve described in both my Linux in Action book and Linux in Motion course, Nextcloud is a powerful way to build a file sharing and collaboration service using only open source software running on your own secure infrastructure. It’s DropBox, Skyp…

atitit.跨架构 bs cs解决方案. 自定义web服务器的实现方案 java .net jetty  HttpListener...

atitit.跨架构 bs cs解决方案. 自定义web服务器的实现方案 java .net jetty HttpListener 1. 自定义web服务器的实现方案&#xff0c;基于原始socket vs 基于tcpListener vs 基于HttpListener1 2. download1 3. Lib3 4. Code3 5. HttpListener类4 6. Reef5 1. 自定义web服务器…

Python高级函数--map/reduce

名字开头大写 后面小写&#xff1b;练习&#xff1a; 1 def normalize(name): 2 return name[0].upper() name[1:].lower() 3 L1 [adam, LISA, barT] 4 L2 list(map(normalize, L1)) 5 print(L2) reduce求积&#xff1a; 1 from functools import reduce 2 3 def prod(…

样式集(9) - 切换Tab菜单

先上效果图 下面是以vue实现的示例代码&#xff1a; 代码解析&#xff1a; 很简单的代码&#xff0c;直接复制粘贴使用吧~ 别忘记一键三连哦&#xff0c;点赞&#xff0c;收藏&#xff0c;关注&#xff0c;谢谢~ 后续持续更新更多干货哦&#xff01;&#xff01; <temp…