img拉没有sudo无法运行

我已经根据https://github.com/genuinetools/img/releases安装了该工具。但是我无法执行某些img命令,例如img pull。

在执行img pull hello-world时,出现以下错误:

nsenter: USER is unset: No such file or directory

以下是版本:

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

我能够执行sudo img pull hello-world

注意:我正在Docker容器中运行它。

zhangheqian2000 回答:img拉没有sudo无法运行

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3111047.html

大家都在问