参考:https://stackoverflow.com/questions/58385340/dockerfile-how-install-snap-snapd-unrecognized-service
结论:不能实现
error: cannot communicate with server: Post "http://localhost/v2/snaps/hello-world": dial unix /run/snapd.socket: connect: no such file or directory
发表回复