Skip to content

Instantly share code, notes, and snippets.

@snyh
Created April 14, 2017 05:29
Show Gist options
  • Save snyh/01e6c9d555d82c778eff3a7acb95f02d to your computer and use it in GitHub Desktop.
Save snyh/01e6c9d555d82c778eff3a7acb95f02d to your computer and use it in GitHub Desktop.
install anbox in deepin 2015.4
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
@snyh
Copy link
Author

snyh commented Apr 14, 2017

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

@snyh
Copy link
Author

snyh commented Apr 14, 2017

It seems my kernel hasn't support /sys/module/fuse/parameters/userns_mounts which to support run lxc in snap container

@yanyuechuixue
Copy link

Have you solve this problem?

@suoko
Copy link

suoko commented Oct 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment