genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.9k stars 231 forks source link

Operation Not Permitted #210

Closed Immortalin closed 5 years ago

Immortalin commented 5 years ago
img version
img:
 version     : v0.5.6
 git hash    : d08b525
 go version  : go1.11.4
 go compiler : gc
 platform    : linux/amd64

img build hello/test .

Building docker.io/hello/test:latest
Setting up the rootfs... this may take a bit.
[+] Building 0.6s (2/2) FINISHED                                                                                                                                                                                   
 => [internal] load build definition from Dockerfile                                                                                                                                                          0.4s
 => => transferring dockerfile: 1.97kB                                                                                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                                                                             0.6s
 => => transferring context: 2B                                                                                                                                                                               0.0s
failed to solve: failed to read dockerfile: failed to mount /tmp/buildkit-mount050259168: [{Type:bind Source:/home/lin/.local/share/img/runc/native/snapshots/snapshots/2 Options:[rbind ro]}]: operation not permitted