docker搭建jpom

docker pull jpomdocker/jpom

mkdir -p /data/jpom-server/logs

mkdir -p /data/jpom-server/data

mkdir -p /data/jpom-server/conf

docker run -d -p 2122:2122 \

--name jpom-server \

-v /data/jpom-server/logs:/usr/local/jpom-server/logs \

-v /data/jpom-server/data:/usr/local/jpom-server/data \

-v /data/jpom-server/conf:/usr/local/jpom-server/conf \

jpomdocker/jpom

docker pull jpomdocker/jpom

查看docker日志

sudo journalctl -u docker.service

Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp 108.160.162.109:443: i/o timeout

sudo systemctl restart docker

nslookup registry-1.docker.io

systemctl status docker

vi /etc/docker/daemon.json

{

"registry-mirrors": ["https://6kx4zyno.mirror.aliyuncs.com"]

}

{

"registry-mirrors": ["https://docker.m.daocloud.io"]

}

{

"registry-mirrors": ["https://docker.1panel.live"]

}

systemctl daemon-reload

systemctl restart docker

systemctl status docker

docker pull jpomdocker/jpom

mkdir -p /data/jpom-server/logs

mkdir -p /data/jpom-server/data

mkdir -p /data/jpom-server/conf

docker run -d -p 2122:2122 \

--name jpom-server \

-v /data/jpom-server/logs:/usr/local/jpom-server/logs \

-v /data/jpom-server/data:/usr/local/jpom-server/data \

-v /data/jpom-server/conf:/usr/local/jpom-server/conf \

jpomdocker/jpom

自动化项目部署平台搭建

jpom

http://127.0.0.1:2122/

账号:test

密码:test123

PJHQCSIQHYFSVVXKTCGAOGHSAHEBOCXS

https://gitee.com/jinyi-technology-department/jykjhospital.git

tcp://192.168.0.11:2375

养成好习惯,修改配置前,先备份

root@k8s0 \~\]# cp /usr/lib/systemd/system/docker.service /usr/lib/systemd/system/docker.service.bk # 修改配置 \[root@k8s0 \~\]# vi /usr/lib/systemd/system/docker.service 找到\[Service

#ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H fd:// --containerd=/run/containerd/containerd.sock

重启docker

root@k8s0 \~\]# systemctl daemon-reload # 重新加载守护进程配置 \[root@k8s0 \~\]# systemctl restart docker # 重启 docker 服务 systemctl status docker systemctl enable docker docker-local tcp://127.0.0.1:2375 1.列出所有运行的docker容器实例,找到对应重复实例对应的CONTAINER ID或者NAMES docker ps -a 2.删除容器 删除指定的容器 docker rm ID/NAME 删除所有闲置容器 docker container prune 在这里插入图片描述 3.重新启动docker systemctl restart docker 查看端口是否开启 netstat -nlpt -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock 再\[Service\] 下边 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock \[Service

ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock

systemctl daemon-reload

systemctl restart docker

systemctl status docker

systemctl stop docker

相关推荐
Hello.Reader8 小时前
用 Docker 玩转 Kafka 4.0镜像选型、快速起步、配置持久化与常见坑
docker·容器·kafka
计算机小手10 小时前
内网穿透系列十二:一款基于 HTTP 传输和 SSH 加密保护的内网穿透工具 Chisel ,具备抗干扰、稳定、安全特性
经验分享·网络协议·安全·docker·开源软件
Jake_sama12 小时前
Prometheus+grafana 监控系统
docker
ZLRRLZ12 小时前
【Docker】Docker初识
docker·容器·perl
夏目&贵志14 小时前
prometheus+grafana监控系统
docker·grafana·prometheus
测试-鹏哥14 小时前
轻舟已过万重山 - ITP V2.1.0版本成功发布
运维·人工智能·python·测试工具·docker·django
程序员老赵16 小时前
Linux Docker & Docker Compose 一键安装
docker
a_small_problem18 小时前
win+wsl+系统代理环境下 docker pull 问题处理
docker
追逐时光者19 小时前
一款为程序员和运维人员量身打造的一站式开发运维利器
数据库·docker·ssh
坐吃山猪1 天前
Docker03-知识点整理
docker