Docker 常见故障及处理
Docker 容器九类常见故障排查及处理 | 运维进阶
近年来,以Docker和kubernetes为代表的容器技术日新月异,但我们在容器的使用过程中,也会碰到各种困扰和难题。本文针对Docker容器部署、维护过程中,产生的问题和故障,做出有针对性的说明和解决方案,希望可以帮助到大家去快速定位和解决类似问题故障。
Docker是一种相对使用较简单的容器,我们可以通过以下几种方式获取信息:
1、通过docker run执行命令,或许返回信息
2、通过docker logs 去获取日志,做有针对性的筛选
3、通过systemctl status docker查看docker服务状态
4、通过journalctl -u docker.service 查看日志
以下是整理的docker容器类问题故障,分为9个类
一、启动类故障
1、
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
原因:Docker未正常启动
解决方式:
syste ...
wireguard
安装完成后忘记怎么安装的了,翻翻历史命令复制一份出来
apt install software-properties-common -y
add-apt-repository ppa:wireguard/wireguard
apt update
apt install wireguard
apt install wireguard resolvconf -y
add-apt-repository ppa:wireguard/wireguard
sudo apt-get install --reinstall ca-certificates
add-apt-repository ppa:wireguard/wireguard
sudo -E add-apt-repository --update ppa:ubuntu-toolchain-r/test
sudo add-apt-repository ppa:wireguard/wireguard
modprobe wireguard && lsmod | grep wireguard
mkdir /etc/wireguar ...
test
MD语法学习
学习链接:[博客园:七度丢失的梦](https://www.cnblogs.com/bobo1/p/10929539.html"url")
https://blog.51cto.com/u_15477117/4919656
这个网站不错,有Hexo入门指南
butterfly主题
https://butterfly.js.org/posts/4aa8abbe/#導航菜單
butterfly主题博主
https://tzy1997.com/articles/hexo1605/
https://zsyyblog.com/dd40c9f4.html
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1$ hexo new "My New Post"
More info: Writing
Run server
1$ hexo server
More info: Server
Generate static files
1$ hexo generate
More info: Generating
Deploy to remote sites
1$ hexo deploy
More info: Deployment