Dockerfile COPY 和 ADD 使用规则
COPY 复制文件:
COPY [--chown=<user>:<group>] <源路径>... <目标路径>
COPY [--chown=<user>:<group>] ["<源路径1>",... "<目标路径>"]
和 RUN 指令一样,也有两种格式,一...
Continue reading >>COPY 复制文件:
COPY [--chown=<user>:<group>] <源路径>... <目标路径>
COPY [--chown=<user>:<group>] ["<源路径1>",... "<目标路径>"]
和 RUN 指令一样,也有两种格式,一...
Continue reading >>here's a diagram to help you debug your deployments in Kubernetes (and you can download it in the PDF version here).
原文:https://learnk8s.io/troubleshooting-deployments
Pod 的完整生命周期过程...
Continue reading >>很久没碰docker了,昨晚在虚拟机上用docker pull jenkinsci/blueocean安装Jenkins启动报如下错误:
java.net.UnknownHostException: updates.jenkins.io
按常规套路,先把selinux、防火墙都关了,IP转发打开,检察虚拟机配置,按报错网上搜了搜,都没效果,安装的docker版本是docker 19。
Continue reading >>手动创建docker0网桥:
brctl addbr docker0
ip addr add 172.17.0.1/16 dev docker0
ip link set dev docker0 up
ip addr show docker0
br0的MAC地址:
br0如果没有指定hw MAC, br0的MAC地址会根据bridge中port的变化,自动选择port中最小的一个MAC地址作为br0的MAC地址...
Continue reading >>◎https://github.com/anzhihe/Free-Docker-K8s-Books,此文档移至github更新
This is my personal collection of free Docker & K8s books, feel free to share and read.
Google drive:https:...
Continue reading >>Project Harbor is an enterprise-class registry server that stores and distributes Docker images. Harbor extends the open source Docker Distribution by adding the functionalities usually required by an...
Continue reading >>