update docker

This commit is contained in:
super
2021-04-06 11:37:15 +08:00
parent 1094a8adf0
commit 8eef61746a
3 changed files with 31 additions and 3 deletions

View File

@@ -335,6 +335,8 @@ Sending build context to Docker daemon 2.048 kB
当然,一般大家习惯性的会使用默认的文件名 `Dockerfile`,以及会将其置于镜像构建上下文目录中。
> 更多关于Dockerfile的内容可以移步[Dockerfile详解](https://vuepress.mirror.docker-practice.com/image/dockerfile/),不过更多的内容还是大家在实践中逐渐熟悉,这样才能更了解里面的含义。
### 跨平台构建镜像
在日常的工作中我们常常有需求将一个程序运行在不同架构CPU的设备上尤其在嵌入式领域我们常常接触的各种开发板、路由器往往都是使用ARM架构的芯片而我们日常开发的设备都是在x86平台。我们在x86平台写的程序需要运行在使用ARM芯片的开发板上这时候就需要跨CPU构建程序。总的来说跨平台构建程序有以下几种方式。

View File

@@ -6,9 +6,9 @@
关于docker compose的安装请移步[docker compose安装与卸载](https://vuepress.mirror.docker-practice.com/compose/install/)或根据[docker官网](https://docs.docker.com/compose/install/)进行安装。
> 对于docker compose的学习推荐大家多看看一些项目的docker-compose.yml文件是怎么写的慢慢模仿着去写很多就越来越熟练清晰了。在[Compose文件夹](https://github.com/datawhalechina/team-learning-program/tree/master/Docker/Compose)下也在网上收集了一些docker-compose.yml文件欢迎大家一起补充。
> 对于docker compose的学习推荐大家多看看一些项目的docker-compose.yml文件是怎么写的慢慢模仿着去写很多就越来越熟练清晰了。在[Compose文件夹](https://github.com/datawhalechina/team-learning-program/tree/master/Docker/Compose)下也在网上收集了一些docker-compose.yml文件欢迎大家一起补充。
## 内容大纲
## 目录
- 什么是docker compose
- 如何使用docker compose
@@ -190,7 +190,7 @@ docker-compose logs
## Compose模板文件
模板文件是使用 `Compose` 的核心,涉及到的指令关键字也比较多。但大家不用担心,这里面大部分指令跟 `docker run` 相关参数的含义都是类似的。
**模板文件是使用 `Compose` 的核心**,涉及到的指令关键字也比较多。但大家不用担心,这里面大部分指令跟 `docker run` 相关参数的含义都是类似的。
*注:这里仅介绍一些较为常用的指令,更多指令请见:[Compose模板文件](https://vuepress.mirror.docker-practice.com/compose/compose_file/#cap-add-cap-drop)*

View File

@@ -136,9 +136,35 @@
<td><span style="font-weight:normal;font-style:normal;text-decoration:none">Datawhale成员</td>
<td><a href="https://github.com/Jeffding">Github</a></td>
</tr>
<tr>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none">陈安东</span></td>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none">中央民族大学Datawhale成员</td>
<td><a href="https://www.zhihu.com/people/wang-ya-fei-48">知乎主页</a></td>
</tr>
<tr>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none">陈长沙</span></td>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none">重庆邮电大学Datawhale成员</td>
<td><a href="https://blog.csdn.net/sinat_26566137?t=1">CSDN</a></td>
</tr>
<tr>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none">刘雯静</span></td>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none"></td>
<td><a href="https://blog.csdn.net/sinat_26566137?t=1"></a></td>
</tr>
<tr>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none">乔石</span></td>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none"></td>
<td><a href="https://blog.csdn.net/sinat_26566137?t=1"></a></td>
</tr>
<tr>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none">于鸿飞</span></td>
<td><span style="font-weight:normal;font-style:normal;text-decoration:none"></td>
<td><a href="https://blog.csdn.net/sinat_26566137?t=1"></a></td>
</tr>
</tbody>
</table>
## 项目贡献情况
- 项目构建与整合:苏鹏