Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 890 Bytes

README.zh.md

File metadata and controls

32 lines (18 loc) · 890 Bytes

View English

Tars整体介绍文档请阅读: https://tarscloud.gitbook.io/

docker部署请参考docker

使用 buildx 编译多平台docker

linxu内核请升级到4.0以上

export DOCKER_CLI_EXPERIMENTAL=enabled

docker buildx create --use --name tars-builder 

docker buildx inspect tars-builder --bootstrap 

docker buildx ls

# linux需要这步, mac不需要
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 && cat /proc/sys/fs/binfmt_misc/qemu-aarch64  

# 编译多平台镜像
docker buildx build -t tarscloud/tars-env-full:latest --platform=linux/amd64,linux/arm64 -f basedocker/full/Dockerfile basedocker/full 

docker buildx imagetools inspect tarscloud/tars-env-full:latest

tarsnode

各个tarsnode版本的镜像实在dock hub上自动编译的.