1- # Base
1+ # HelloWorld
22
3- ![ Docker Image Version] ( https://img.shields.io/docker/v/snowdreamtech/base )
4- ![ Docker Image Size] ( https://img.shields.io/docker/image-size/snowdreamtech/base /latest )
5- ![ Docker Pulls] ( https://img.shields.io/docker/pulls/snowdreamtech/base )
6- ![ Docker Stars] ( https://img.shields.io/docker/stars/snowdreamtech/base )
3+ ![ Docker Image Version] ( https://img.shields.io/docker/v/snowdreamtech/helloworld )
4+ ![ Docker Image Size] ( https://img.shields.io/docker/image-size/snowdreamtech/helloworld /latest )
5+ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/snowdreamtech/helloworld )
6+ ![ Docker Stars] ( https://img.shields.io/docker/stars/snowdreamtech/helloworld )
77
8- Docker Image packaging for Base . (amd64, arm32v5, arm32v6, arm32v7, arm64v8, i386, mips64le, ppc64le,riscv64, s390x)
8+ Docker Image packaging for HelloWorld . (amd64, arm32v5, arm32v6, arm32v7, arm64v8, i386, mips64le, ppc64le,riscv64, s390x)
99
1010# Usage
1111
@@ -16,22 +16,20 @@ To help you get started creating a container from this image you can either use
1616### Simple
1717
1818``` bash
19- docker run -d \
20- --name=base \
19+ docker run \
20+ --name=helloworld \
2121 -e TZ=Asia/Shanghai \
22- --restart unless-stopped \
23- snowdreamtech/base:latest
22+ snowdreamtech/helloworld:latest
2423```
2524
2625### Advance
2726
2827``` bash
29- docker run -d \
30- --name=base \
28+ docker run \
29+ --name=helloworld \
3130 -e TZ=Asia/Shanghai \
3231 -v /path/to/data:/path/to/data \
33- --restart unless-stopped \
34- snowdreamtech/base:latest
32+ snowdreamtech/helloworld:latest
3533```
3634
3735## Docker Compose
@@ -40,33 +38,31 @@ docker run -d \
4038
4139``` bash
4240services:
43- base :
44- image: snowdreamtech/base :latest
45- container_name: base
41+ helloworld :
42+ image: snowdreamtech/helloworld :latest
43+ container_name: helloworld
4644 environment:
4745 - TZ=Asia/Shanghai
48- restart: unless-stopped
4946```
5047
5148### Advance
5249
5350``` bash
5451services:
55- base :
56- image: snowdreamtech/base :latest
57- container_name: base
52+ helloworld :
53+ image: snowdreamtech/helloworld :latest
54+ container_name: helloworld
5855 environment:
5956 - TZ=Asia/Shanghai
6057 volumes:
6158 - /path/to/data:/path/to/data
62- restart: unless-stopped
6359```
6460
6561# Development
6662
6763``` bash
6864docker buildx create --use --name build --node build --driver-opt network=host
69- docker buildx build -t snowdreamtech/base --platform=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x . --push
65+ docker buildx build -t snowdreamtech/helloworld --platform=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x . --push
7066```
7167
7268## Reference
@@ -78,7 +74,7 @@ docker buildx build -t snowdreamtech/base --platform=linux/386,linux/amd64,linux
78741 . [ Faster Multi-Platform Builds: Dockerfile Cross-Compilation Guide] ( https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/ )
79751 . [ docker/buildx] ( https://github.com/docker/buildx )
8076
81- ## Contact (备注:base )
77+ ## Contact (备注:helloworld )
8278
8379* Email: sn0wdr1am@qq.com
8480* QQ: 3217680847
0 commit comments