We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
前置信息:
所以m1的mac上build出来image在linux上用不了。 那么如何构建linux支持的platform的image呢? 使用参数 --platform 来指定platform linux/amd64
--platform
linux/amd64
docker build -t IMAGE:TAG --platform linux/amd64 .
打完的image在docker的GUI中查看会有一个特殊的标志
附gitlabCI报错信息:
ERROR: Job failed (system failure): unable to upgrade connection: container not found ("build")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
前置信息:
所以m1的mac上build出来image在linux上用不了。
那么如何构建linux支持的platform的image呢?
使用参数
--platform
来指定platformlinux/amd64
打完的image在docker的GUI中查看会有一个特殊的标志
附gitlabCI报错信息:
The text was updated successfully, but these errors were encountered: