Replies: 3 comments
-
Reported an issue as I think its a bug #5273 |
Beta Was this translation helpful? Give feedback.
0 replies
-
buildctl for windows is not stable enough for public use. It could take a while before such bugs are resolved. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing so that we can carry on from #5273 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using version 1.7.18 of containerd and 0.14.0 of buildkit.
When creating a docker image from docker file using the following command
buildctl.exe build
--frontend dockerfile.v0
--local context=.
--local dockerfile=.
--output type=image,\"name=test_image:1.0\"
--secret id=creds-usr,env=CREDS_USR
--secret id=creds-psw,env=CREDS_PSW
${buildArgs.join(' ')}
I have the following dockerfile
FROM mcr.microsoft.com/windows/servercore
RUN --mount=type=secret,id=creds-usr,required=True,target=C:\secrets\creds-usr
--mount=type=secret,id=creds-psw,required=True,target=C:\secrets\creds-psw
//Followed by other commands I use to perform network operations.
The build output fails at following error
unable to setup secret mount: invalid windows mount type: 'tmpfs'
Has any one has success is mounting secrets using windows containers?
Beta Was this translation helpful? Give feedback.
All reactions