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

相关推荐
杨浦老苏1 小时前
开源一体化白板工具Drawnix
docker·群晖·图片·白板
geek_super2 小时前
Docker学习--容器的root文件系统(rootfs)命令--docker diff 命令
docker
欧先生^_^2 小时前
docker的文件系统Overlay2
运维·docker·容器
阳小江4 小时前
Docker知识点
运维·docker·容器
极客柒5 小时前
RustDesk 开源远程桌面软件 (支持多端) + 中继服务器伺服器搭建 ( docker版本 ) 安装教程
服务器·docker·开源
方渐鸿6 小时前
【2025】快速部署安装docker以及项目搭建所需要的基础环境(mysql、redis、nginx、nacos)
java·运维·docker·持续部署·dockercompse
WCL-JAVA9 小时前
Docker快速安装MongoDB并配置主从同步
mongodb·docker·容器
下一秒_待续9 小时前
.Net8项目使用docker、docker-compose部署步骤
docker·容器·.net
mingyuewu11 小时前
MAC环境给docker换源
docker
GodGump12 小时前
dbgpt7.0 docker部署
运维·docker·容器