Comments (10)
Same issue here i've tried to change the permission on /kuard with a RUN chmod +x but i still get the permission denied error
from kuard.
What version of docker are you using? What is the OS/architecture?
from kuard.
I got the same issue on ubuntu 16
docker: Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused "exec: \"/kuard\": permission denied".
docker version
Client:
Version: 17.09.0-ce
API version: 1.32
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:42:18 2017
OS/Arch: linux/amd64
Server:
Version: 17.09.0-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:40:56 2017
OS/Arch: linux/amd64
Experimental: false
from kuard.
Sounds like you haven't added your user to the docker group to have non-root permissions. Make sure you've run:
sudo usermod -aG docker $USER
Then log out and back in again. You can test this is working right before attempting the examples from the book by running:
docker run hello-world
And making sure that is working right first.
from kuard.
@stmcginnis thank for your comment. I still got the error after applying your advice.
I have no issues when working with other images of my personal projects.
from kuard.
Hi all -- I updated the README with some steps that work for me -- https://github.com/kubernetes-up-and-running/kuard#manual-docker-build.
Can y'all try that out and let me know if it works? If it does I'll fix up the book for the next edition to make this more clear.
from kuard.
@jbeda Thank for your quickly support, after update the dockerfile with the new config, I got a new issue
=== Dockerfile ===
FROM alpine
COPY bin/1/amd64/kuard /kuard
ENTRYPOINT ["/kuard"]
=== Issue after run "docker build -t kuard-amd64:1 ." ===
Step 1/3 : FROM alpine latest: Pulling from library/alpine ff3a5c916c92: Pull complete Digest: sha256:7df6db5aa61ae9480f52f0b3a06a140ab98d427f86d8d5de0bedab9b8df6b1c0 Status: Downloaded newer image for alpine:latest ---> 3fd9065eaf02
Step 2/3 : COPY bin/1/amd64/kuard /kuard COPY failed: stat /var/lib/docker/tmp/docker-builder419379731/bin/1/amd64/kuard: no such file or directory
from kuard.
@jackiedo91 Did you run make
from the base directory? That is the one that should be creating the binary that we are looking to put in there.
from kuard.
Just stumbled upon this thread but I'm also following along with the book and running the make file was the missing step for me. Thank you @jbeda !
from kuard.
Great! I'll close this now. Other folks -- please file a new issue or reopen if you think things are still broken.
from kuard.
Related Issues (20)
- What is meaning of the kuard? HOT 1
- Issue setting up Pi cluster HOT 1
- Book nor this site says that the source code needs to be downloaded HOT 4
- Could not find certificates to serve TLS HOT 2
- build.sh not found when doing docker build HOT 33
- Chapter 2: Remote Registry HOT 1
- Jobs, chapter 12, with K8s 1.18, 2 breaking changes HOT 4
- Can't run kuard on raspberry cluster HOT 2
- Error building Dockerfile buffer.js:606 slice: (buf, start, end) => buf.utf8Slice(start, end) RangeError: Index out of range
- The syntethic workload is not working using command line HOT 1
- Can not create Pod HOT 4
- expose kuard through a reverse proxy HOT 1
- Executor fails to run build/build.sh HOT 4
- Labels and Annotations HOT 1
- Fails to start if using runAsNonRoot:true
- Getting an error `/go/bin/kuard` in chapter 2 Multistage image builds HOT 1
- make images fails to build on Apple silicon HOT 5
- build.sh: not found HOT 2
- Gcloud enable container command missing HOT 1
- Corrections/updates to 3rd edition, chapter 6, Labels HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kuard.