推送镜像到dockerhub
docker build -t brucexhe/sentinel-dashboard:1.8.6 .
docker login
username: brucexhe
password:xxxxxxxx
docker push brucexhe/sentinel-dashboard:1.8.6
附 docker run -d --name sentinel-dashboard -p 8718:8718 brucexhe/sentinel-dashboard:1.8.6
附docker compose:
sentinel:
image: brucexhe/sentinel-dashboard:1.8.6
container_name: "sentinel-dashboard"
ports:
- 8718:8718
restart: on-failure
============ 欢迎各位老板打赏~ ===========
与本文相关的文章
- · docker-compose安装phpmyadmin
- · Amazon Linux 2023 安装Docker和Docker Compose
- · 修改Docker的默认网段
- · nginx http转https, 不带www转带www
- · docker定时任务Mysql脚本
- · 解决Linux实例磁盘空间满问题
- · failed to fetch metadata: fork/exec /home/appuser/.docker/cli-plugins/docker-buildx: exec format error
- · Docker登录login报错Error saving credentials
- · ELK/EFK中ES使用IK分词器的方式步骤
- · 解决es报错:blocked by: [FORBIDDEN/12/index read-only / allow delete (api) ]
- · filebeat按docker容器名创建不同的索引
- · traefik负载均衡/滚动升级