Skip to content
New issue

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

raspbarry pi - install & run luakit under docker container #6

Open
lpt2007 opened this issue Feb 15, 2019 · 0 comments
Open

raspbarry pi - install & run luakit under docker container #6

lpt2007 opened this issue Feb 15, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@lpt2007
Copy link
Owner

lpt2007 commented Feb 15, 2019

I used raspbian-desktop from this link:
https://www.raspberrypi.org/downloads/raspbian/

I enabled ssh with:

sudo systemctl enable ssh

I update host system:

sudo apt-get -y update
sudo apt-get -y upgrade

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:

curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
sudo usermod -aG docker pi

I Installed x11docker:

wget https://raw.githubusercontent.com/mviereck/x11docker/master/x11docker -O /tmp/x11docker
sudo bash /tmp/x11docker --update
rm /tmp/x11docker

I create folders:

mkdir /home/pi/docker
mkdir /home/pi/docker/luakit

create and edit Dockerfile:
nano /home/pi/docker/luakit/Dockerfile

add this:

FROM raspbian/stretch
RUN apt-get update && apt-get dist-upgrade -y
RUN apt-get install luakit -y
CMD luakit

build docker container:
sudo docker build -t luakit /home/pi/docker/luakit

from ssh I run this:

sudo x11docker --xorg luakit
@lpt2007 lpt2007 added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant