Open lpt2007 opened 5 years ago
Configure Raspbian for Google Chrome:
Google Chrome is CPU intensive application, therefore, we recommend to increase swap space.
Open configuration file in Terminal (command line) using the following command:
sudo nano /etc/dphys-swapfile
Raspbian has 100MB of swap by default. You should change it to 2000MB in the configuration file. So you will have to find this line:
CONF_SWAPSIZE=100
And then change it into:
CONF_SWAPSIZE=2048
Then restart dphys-swapfile to apply changes:
sudo /etc/init.d/dphys-swapfile stop
sudo /etc/init.d/dphys-swapfile start
I'd love to use this on my hassio installation :)
I used raspbian-desktop from this link: https://www.raspberrypi.org/downloads/raspbian/
I enabled ssh with:
I update host system:
run raspi-config:
sudo raspi-config
go to -> "Interfacing Options" -> "Camera" -> Enable, go to -> "Advanced Options" -> "Memory Split" -> 256 go to -> "Finish" -> "Reboot"
I installed docker:
I Installed x11docker:
I create folders:
create and edit Dockerfile:
nano /home/pi/docker/chrome/Dockerfile
add this:
build docker container:
sudo docker build -t chrome /home/pi/docker/chrome
from ssh I run this: