Created
April 14, 2017 05:29
-
-
Save snyh/01e6c9d555d82c778eff3a7acb95f02d to your computer and use it in GitHub Desktop.
install anbox in deepin 2015.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://raw.githubusercontent.com/anbox/anbox-installer/84b3ea95ebfa71723a62eb9291d62884b9306555/installer.sh -O install.sh | |
patch install.sh <<EOF | |
26c26 | |
< SUPPORTED_DISTROS=("Ubuntu" "LinuxMint" "neon" "elementary") | |
--- | |
> SUPPORTED_DISTROS=("Ubuntu" "LinuxMint" "neon" "elementary", "Deepin") | |
148c148 | |
< sudo apt install -y software-properties-common linux-headers-generic | |
--- | |
> sudo apt install -y software-properties-common linux-headers-deepin-amd64 | |
149a150 | |
> sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 21C6044A875B67B7 | |
151c152 | |
< sudo apt install -y anbox-modules-dkms | |
--- | |
> sudo apt install -y anbox-modules-dkms snapd | |
EOF | |
bash ./install.sh |
It seems not the GET /v2/snaps
problem. It's ok directly use curl, like this.
socat -d -d TCP-LISTEN:8080,fork UNIX:/run/snapd.socket
curl localhost:8080/v2/snaps
It seems my kernel hasn't support /sys/module/fuse/parameters/userns_mounts
which to support run lxc in snap container
Have you solve this problem?
Check this https://ftp.ustclug.org/~zsj/anbox/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the anbox session-manager and container-manager are both running, but the
anbox luanch
failed.Sadly, I hasn't figure out why it stuck at