-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
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
Install error :unable to prepare context: #1910
Comments
Is it the first time you use the Are you running the script under the root of the repo? |
@RainbowMango It is my first time to use it ,I do run the script in the root directory, but I have the same problem in the home directory,I can't find the cause of the problem |
I have the same problem, I upgraded my docker version(form 1.13.1 to 20.10.17). There is no such problem now. |
Thanks @AnteBox. @maoyangLiu what's the docker version you are using? Can you upgrade it and try again? |
Dockerfile is allowed from outside build-context since docker 18.03. docker/cli#886 By the way, @RainbowMango shall we support the docker under v18? we can link the Dockerfile to the build dir. |
I didn't hear anyone ask for it. |
when I install karamda whit the command : hack/local-up-karmada.sh
when Building image for linux/amd64: swr.ap-southeast-1.myhuaweicloud.com/karmada/karmada-aggregated-apiserver:latest
return an error unable to prepare context: The Dockerfile (/root/karmada/cluster/images/Dockerfile) must be within the build context (hack/../_output/bin/linux/amd64)
What is wrong with my configuration or operation
Environment: centos7
The text was updated successfully, but these errors were encountered: