防火墙和docker服务
查看防火墙命令-----
systemctl status firewalld
service iptables status
暂时关闭防火墙
systemctl stop firewalld
service iptables stop
永久关闭防火墙
systemctl disable firewalld
chkconfig iptables off
重启防火墙
systemctl enable firewalld
service iptables restart
永久关闭后重启
chkconfig iptables on
==============================================
打开docker服务-----systemctl start docker
停止docker服务-----systemctl stop docker
重启docker服务-----systemctl restart docker
查看docker状态-----systemctl status docker
开机启动-----systemctl enable docker
查看docker概要信息------docker info
查看docker帮助文档-------docker --help
posted on 2023-06-01 10:26 xiaoxuxiaoxu 阅读(63) 评论(0) 编辑 收藏 举报