我从hub.docker.com提取了最新的Ubuntu映像
$ docker pull ubuntu
一切都下载正确,所以我启动了容器
$ docker run -it ubuntu
我snapd
装进了容器
# apt update
...
All packages are up to date.
# apt install snapd
Get:1 http://security.ubuntu.com/...
...
done.
当我尝试登录时,出现故障
# snap login
2017/04/20 18:06:04.729212 main.go:220: WARNING: cannot create syslog logger
Email address: <me@email.com>
Password of "me@email.com":
error: cannot communicate with server: Post http://localhost/v2/login: dial unix /run/snapd-snap.socket: connect: no such file or directory
我什至试图sudo
确保...
# sudo snap login
bash: sudo: command not found
@ user.dz
—
Zachary
Failed to connect to bus: No such file or directory
snapd
守护进程似乎未在运行,您能否将systemctl status snapd.s*