img pull not running without sudo
I have installed the tool according to: https://github.com/genuinetools/img/releases. However I am unable to execute certain img commands like img pull.
While executing img pull hello-world, I get the following error:
nsenter: USER is unset: No such file or directory
Here are the versions:
img: version : v0.5.7 git hash : d14bb92 go version : go1.11.10 go compiler : gc platform : linux/amd64
runc version 1.0.0-rc9+dev commit: 46def4cc4cb7bae86d8c80cedd43e96708218f0a spec: 1.0.1-dev
go version go1.12 linux/amd64
I am able to execute sudo img pull hello-world
Note: I am running this in a Docker container.
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
Any updates regarding this?
@nilbro What container are you running this in? Does the Dockerfile look similar to this? https://github.com/genuinetools/img/blob/master/Dockerfile