03继承与反射
4.3 写的 Employee 已经是个完整的类。现在假设公司里还有一类人——经理。经理也是雇员:同样有姓名、薪水、入职日期,只是多一项奖金。
Cover Image of the Post
10进阶:推送与自动化构建
给镜像打上正确的标签并推送到仓库,再用 CI 自动构建多架构镜像。
#Docker
Cover Image of the Post
09进阶:构建进阶与镜像瘦身
把镜像从 1GB 压到 100MB,并让重复构建稳定命中缓存、明显变快。
#Docker
Cover Image of the Post
08入门:容器里的进程
理解容器里的 PID 1 与信号转发,让容器能优雅停止,而不是被硬等超时后强杀。
#Docker
Cover Image of the Post
18附录:命令速查
收束整个系列,把散在各关的命令按主题汇总成一份随手可查的手册。
#Docker
Cover Image of the Post
07入门:Compose进阶
让服务按依赖顺序真正就绪,并用多文件覆盖与 profiles 管住多套环境。
#Docker
Cover Image of the Post
06入门:Compose起全栈
把第 5 关那三个各带参数的容器收进一份 compose 文件,一条命令整体拉起、整体拆掉,并让服务名互相叫得到。
#Docker
Cover Image of the Post
05入门:容器网络
让容器之间、容器与宿主机之间互相说话,理解自定义网络、容器 DNS,以及 macOS 上的网络差异。
#Docker
Cover Image of the Post
04入门:数据持久化
让数据活过容器,掌握卷、绑定挂载与 tmpfs 的取舍,以及卷的备份与迁移。
#Docker
Cover Image of the Post
02菜鸟:玩转现成镜像
把 nginx、mysql、redis 三个常用镜像跑起来,重点在它们各自的配置方式:环境变量、数据挂载,以及官方镜像的默认约定。
#Docker
Cover Image of the Post
Profile Image of the Author
贺小云
热爱技术与折腾的博客 Dancing with uncertainty. 与不确定性共舞
公告
出于成本考虑,贺云已全面转型Serverless架构
分类
标签
碎碎念
站点统计
文章
91
分类
5
标签
44
总字数
103,192
运行时长
0 天
最后活动
0 天前
站点信息
构建平台
Cloudflare Pages
博客版本
Firefly v6.16.5
文章许可
CC BY-NC-SA 4.0

当前页面没有目录