We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
パッケージ、snapd をインストールし、 snap 関係のコマンドを実行すると、以下のエラー出力され、パッケージのインストールなどができません。以下は LXD をインストールしようとした際の結果です:
snapd
snap
LXD
error: cannot communicate with server: Post http://localhost/v2/snaps/lxd: dial unix /run/snapd.socket: connect: no such file or directory
提供されているDockerイメージからコンテナを起動。
docker run --name test_desktop -p 8080:8080 uphy/ubuntu-desktop-jp
noVNCでコンテナ内デスクトップ環境にログイン。 その後、コンテナ内デスクトップ環境で以下コマンドを実行。
apt update apt full-upgrade apt install snapd
一度コンテナを再起動したあと、以下のコマンドをコンテナ内デスクトップ環境で実行。
snap install lxd
Windows 10 Pro
Docker Desktop Community
なお、この事象に関連しそうなバグが Launchpad のバグ報告に掲載されておりました。
Bug #1631514 “snap doesnt work. error: cannot communicate with s...” : Bugs : snapd package : Ubuntu
これを参考に以下のコマンドを実行しましたが、 System has not been booted with systemd as init system (PID 1). Can't operate. と出力され、Snapデーモンの状態が確認できませんでした。
System has not been booted with systemd as init system (PID 1). Can't operate.
systemctl status snapd.service
The text was updated successfully, but these errors were encountered:
No branches or pull requests
事象
パッケージ、
snapd
をインストールし、snap
関係のコマンドを実行すると、以下のエラー出力され、パッケージのインストールなどができません。以下はLXD
をインストールしようとした際の結果です:再現手順
提供されているDockerイメージからコンテナを起動。
noVNCでコンテナ内デスクトップ環境にログイン。
その後、コンテナ内デスクトップ環境で以下コマンドを実行。
一度コンテナを再起動したあと、以下のコマンドをコンテナ内デスクトップ環境で実行。
再現環境
Windows 10 Pro
Docker Desktop Community
補足
なお、この事象に関連しそうなバグが Launchpad のバグ報告に掲載されておりました。
Bug #1631514 “snap doesnt work. error: cannot communicate with s...” : Bugs : snapd package : Ubuntu
これを参考に以下のコマンドを実行しましたが、
System has not been booted with systemd as init system (PID 1). Can't operate.
と出力され、Snapデーモンの状態が確認できませんでした。The text was updated successfully, but these errors were encountered: