Posts

Showing posts from February, 2016

Set up Genymotion Android with Google service

Install Genymotion 2.6.0 Start Genymotion. Download the device image Google Nexus 5X - 6.0.0 - API 23 - 1080x1920. Start the device image in Genymotion. Download Genymotion-ARM-Translation_v1.1.zip . Drag it to the screen of the started VM to flash it. Restart. Use the same procedure to flash gapps-L-4-21-15.zip .  Sign in into your google account by starting the gmail app for instance. Flash benzo-gapps-M-20151011-signed-chroma-r3.zip and restart. Reference: https://gist.github.com/wbroek/9321145

Docker quick start (Firefox container as an example)

Below are the minimal commands needed to get a working Mozilla Firefox docker container in Ubuntu. Install docker client and server sudo apt-get install docker.io Allow the docker user to communicate with your X session xhost +local:docker Download a Firefox docker image and start it as a container sudo docker run -v $HOME/Downloads:/home/firefox/Downloads:.rw -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/snd:/dev/snd --privileged -e uid=$(id -u) -e gid=$(id -g) -e DISPLAY=unix$DISPLAY --name firefox chrisdaish/firefox Once the image has been downloaded, it can be started with the following command instead: sudo docker r un -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/snd:/dev/snd --privileged -e uid=$(id -u) -e gid=$(id -g) -e DISPLAY=unix$DISPLAY --name firefox chrisdaish/firefox Note the id or name of the container. Later if you want to get back to the container, you need that id. sudo docker attach [id or name] sudo docker start [id or name> Before you can run again,