Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为amd64和 Nvidial4t平台构建图像。现在我将基本图像名称传递amd64/debian:buster-slim到nvcr.io/nvidia/l4t-base:r32.6.1我的Dockerfile. 然后,我运行一个 shell 脚本,它使用不同的基本映像名称调用docker build两次--build-arg。
amd64
l4t
amd64/debian:buster-slim
nvcr.io/nvidia/l4t-base:r32.6.1
Dockerfile
docker build
--build-arg
我读过docker buildx这似乎很有趣。但是我还没有找到如何为我的目标平台定义不同的基本图像。
docker buildx
这可能吗?