... restricted annotations: seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default,runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames ...
... ,8080 -j ACCEPT 在安装Docker的节点上设置iptables: 安装了Docker服务的节点上需要再DOCKER-USER自定义链上设置 ...
... =$(git rev-parse --short HEAD) echo $VERSION docker build -t ${IMAGE}:${VERSION} . docker push ${IMAGE}:${VERSION} docker rmi ${IMAGE}:${VERSION} ''' } } } } } try ...
... /lib/systemd/system/docker.service docker配置: cat >> /etc/docker/daemon.json <<EOF { "registry-mirrors":["https://regisrty.docker-cn.com" ...
... LOCALDIR}/sonar/sonarqube_data:/opt/sonarqube/data \ sonarqube:7.9.2-community } ldap(){ docker run -p 389:389 --name myopenldap \ --env LDAP_ORGANISATION="devops" --env ...
... 安装LDAP: docker run -p 389:389 --name myopenldap --env LDAP_ORGANISATION="devops" --env ...
... 选择数据源 Path /var/log/pods/${POD_UID}/{{.ContainerName}}/*.log Path_Key filename Parser docker DB /var/log/pods/${POD_UID}/{{.ContainerName}}/flb_std.db#记录哪个文件采集 ...
... ];then cat /dev/null > $LOG_FILE fi fi 清理docker日志: #!/bin/bash export DIR=/var/lib/docker/containers export BIG_DIR_LIST=`du -sh $DIR/* | grep G ...
... 仓库缓存到本地 新版本的nexus支持各种包,包括docker、exe、sh、npm、yum等等。 安装: 略 下载机制: 默认从中央 ...
... Server Documentation=https://github.com/GoogleCloudPlatform/kubernetes After=docker.service Requires=docker.service [Service] WorkingDirectory=/var/lib/kubelet EnvironmentFile ...
... /yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 安装docker: yum install docker-ce -y 修改 docker.service 为如下配置 ...
... docker可以拉取私有仓库的镜像 创建docker-registry秘钥: kubectl create secret docker-registry harbor --docker-username=qiyang --docker-password=123456 --docker-email=example@email.com --docker ...
... 服务:docker-compose stop 开始服务:docker-compose start 重启服务:docker-compose restart 停止服务并删除容器:docker-compose down 启动服务并运行容器:docker-compose ...
... .d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 安装docker: yum install docker-ce -y 启动docker: systemctl start docker systemctl status docker 从 ...
... /root/tomcat/Test.war cd /root/tomcat/ docker build -t $IMAGE_TAG . docker login -u qiyang -p123456 http://myharbor.com docker push $IMAGE_TAG ssh root@192.168.1 ...
... RUN apk update && apk --no-cache add curl 启动docker-compose: docker-compose up docker exec -it http_egress_envoy_1 sh curl -H "host: www.ik8s ...
... istio-*/samples/addons # 修改镜像地址 sed -i 's#docker.io/#m.daocloud.io/docker.io/#g' *.yaml sed -i 's/jimmidyson\//m ...
... /containers/*/*.log' processors: - add_docker_metadata: host: "unix:///var/run/docker.sock" - decode_json_fields: fields: ["message"] target: "json ...
... ;/dev/null" address: socket_address: address: 0.0.0.0 port_value: 9901 docker-compose.yaml version: "3.7" services: front-envoy: build: context ...
... 删除状态为Exited的容器,Error 的 Pod会逐渐运行。 docker rm $(docker container ls --all | grep Exited | awk '{print $1}') 错误 ...