跳到主要内容

8 篇文档带有标签「containerization」

查看所有标签

AWK SED 简单使用

shell tee awk.txt <<-'EOF' john wang male 30 02103213 ludc dasf fama 12 12311321 EOF awk '{print $1,$4}' awk.txt

Centos8 安装K8S

| 主机 | IP | 系统 | | ------ | ------------- | ---- | | master | 192.168.3.162 | Centos 8 kernel 4.18.0-240.el8.x8664 |

docker-compose使用

[reference article from here][docker compose redis cluster] > remember to replace the ip 192.168.3.163 to your real ip address

idea使用docker部署

shell systemctl disable firewalld --now setenforce 0 sed -i -r 's/SELINUX=[ep]./SELINUX=disabled/g' /etc/selinux/config

K8S常用命令

shell systemctl status docker.service systemctl status kubelet.service netstat -antp| grep 6443 netstat -pnlt | grep 6443

基础Docker命令

shell script docker pull xxx docker search xxx docker images docker images -q docker rmi containerId/SOURCEIMAGE[:TAG]