You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
file-online-preview/docker/kkfileview-base/README.cn.md

51 lines
2.3 KiB

#
kkfileview kkfileview Docker
kkfileview kkfileview-base
使 kkfileview-base kkfileview docker
> tag 4.4.0 Dockerfile arm64 , arm64
```shell
docker build --tag keking/kkfileview-base:4.4.0 .
```
##
`docker buildx` 使
`docker buildx build` `--platform=linux/arm64` arm64 便arm64 arm64
> linux/amd64 linux/arm64
> buildx builder driver 使 `docker` , 使 `docker-container` , , [Docker Buildx | Docker Documentation](https://docs.docker.com/buildx/working-with-buildx/#build-multi-platform-images)
****
amd64 (x86_64) docker buildx Linux QEMU
> 使 WSL2 Windows DockerDesktop, ,
1. docker buildx
> docker >=19.03
, https://github.com/docker/buildx
2. QEMU , :
> Linux >=4.8
使 `tonistiigi/binfmt` :
```shell
docker run --privileged --rm tonistiigi/binfmt --install all
```
:
```shell
docker buildx build --platform=linux/amd64,linux/arm64 -t keking/kkfileview-base:4.4.0 --push .
```