标签:-- sudo 阶段 enable test 大于 table arm armv7
$ sudo apt install -y apt-transport-https
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
$ sudo apt-get update
$ sudo apt-get install docker-ce
$ docker --version
$ cat ~/.docker/config.json
{
"experimental": "enabled"
}
$ sudo docker buildx create --user
$ sudo docker buildx build --platform linux/amd64,linux/arm64,linux/armv7 -t test_demo:1.0 .
https://github.com/docker/buildx/#installing
docker如何构建多架构(arm64, x86_64, armv7)容器镜像?
标签:-- sudo 阶段 enable test 大于 table arm armv7
原文地址:https://www.cnblogs.com/dakewei/p/13332688.html