Appearance
容器镜像服务
登录 腾讯云镜像仓库
sh
# 登录腾讯云容器镜像服务 Docker Registry
docker login ccr.ccs.tencentyun.com --username=100006371794
# 从 Registry 拉取镜像
docker pull ccr.ccs.tencentyun.com/lucaoss/golang:[tag]
# 向 Registry 中推送镜像
docker tag [imageId] ccr.ccs.tencentyun.com/lucaoss/golang:[tag]
docker push ccr.ccs.tencentyun.com/lucaoss/golang:[tag]容器镜像加速
- https://github.com/DaoCloud/public-image-mirror
- https://github.com/dongyubin/DockerHub
- https://gist.github.com/y0ngb1n/7e8f16af3242c7815e7ca2f0833d3ea6
基础镜像
- Nginx
sh
docker pull ccr.ccs.tencentyun.com/lucaoss/nginx:stable-alpine-arm64- Node
sh
docker pull ccr.ccs.tencentyun.com/lucaoss/node:alpine-arm64- Golang
sh
docker pull ccr.ccs.tencentyun.com/lucaoss/golang:1.22-alpine-arm64- MariaDB
sh
docker pull ccr.ccs.tencentyun.com/lucaoss/mariadb:10-arm64- wordpress
sh
docker pull ccr.ccs.tencentyun.com/lucaoss/wordpress:5-arm64
docker pull ccr.ccs.tencentyun.com/lucaoss/redpandadata-console:arm64- Kafka
sh
docker pull ccr.ccs.tencentyun.com/lucaoss/cp-kafka:confluentinc-cp-kafka-7.5.0-arm
docker pull ccr.ccs.tencentyun.com/lucaoss/cp-zookeeper:confluentinc-cp-zookeeper-7.5.0-armDocker Compose 启动服务
yaml
version: "3.8"
services:
zookeeper:
image: ccr.ccs.tencentyun.com/lucaoss/cp-zookeeper:confluentinc-cp-zookeeper-7.5.0-arm
hostname: zookeeper
container_name: zookeeper
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
kafka:
image: ccr.ccs.tencentyun.com/lucaoss/cp-kafka:confluentinc-cp-kafka-7.5.0-arm
hostname: kafka
container_name: kafka
depends_on:
- zookeeper
ports:
- "9092:9092"
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1- Jaeger
sh
docker pull ccr.ccs.tencentyun.com/lucaoss/jaegertracing:all-in-one-arm
docker run -d --name jaeger \
-e COLLECTOR_ZIPKIN_HOST_PORT=:9411 \
-p 16686:16686 \
-p 14268:14268 \
ccr.ccs.tencentyun.com/lucaoss/jaegertracing:all-in-one-arm- Redpanda
sh
docker pull ccr.ccs.tencentyun.com/lucaoss/redpandadata-console:arm64
docker run -d -p 8080:8080 \
-e KAFKA_BROKERS=10.64.124.198:9092,10.64.124.197:9092,10.64.124.199:9092 \
ccr.ccs.tencentyun.com/lucaoss/redpandadata-console:arm64- 微服务
- 客户服务
shdocker pull ccr.ccs.tencentyun.com/lucahimself/msapp-customer:1- 订单服务
shdocker pull ccr.ccs.tencentyun.com/lucahimself/msapp-order:1- 前端服务
shdocker pull ccr.ccs.tencentyun.com/lucahimself/msapp-ui:1 - ezserver
sh
docker pull ccr.ccs.tencentyun.com/lucahimself/ezserver:1-arm64