![]() Because of this the first start-up may take some minutes until the user interface finally shows up.īut once it is started, it feels pretty smooth to use. The container runs Kitematic in development mode. Now it’s time to run the Kitematic container with: docker run -privileged -v /var/run/docker.sock:/var/run/docker.sock -e DISPLAY=172.17.42.1:0.0 hypriot/rpi-kitematic We haven’t uploaded it to the Docker Hub yet as it is still a work-in-progress. Now you have to build the Kitematic container. If it works you see a message like access control disabled, clients can connect from any host. If you haven’t enabled the TCP connection yet, run the following command to enable it now. Now reboot your Pi to start the X11 server on your 7” touch display or HDMI monitor. If you just use an HDMI monitor you should skip this step. ![]() To fix the orientation of the 7” touch display we have to add lcd_rotate=2 into the /boot/config.txt. echo "xhost +" > /etc/X11/Xsession.d/36x11-xhost-docker If you want to do it manually, just skip this step. If you want to automate this step, you can add a start script so the TCP connections are allowed after the next reboot. This is a network connection coming from another TCP/IP address because the container is running in it’s own network name space. ![]() Next you have to enable X11 server to accept external TCP access from inside of a Docker container. echo "xserver-allow-tcp=true" > /etc/lightdm/nf Just insert the line xserver-allow-tcp=true in the file /etc/lightdm/nf. Now you have to enable the X11 server to listen on a TCP socket (port 6000). We have created a small helper script that installs everything you need. If you are one of the lucky owners of the new Raspberry 7” touch screen display, you may wanna try out the following steps to run it on your own Pi as well.įirst log in to your Raspberry Pi and install X11. But we believe we can make it available soon in an easy and convenient way to be used by everyone. We thought, let us write a Dockerfile to build Kitematic and run it within a Docker container.Īs you can see this is still a work-in-progress. ![]() This was the time for the next crazy idea. Still in the team we were not satisfied with installing Kitematic directly on the host - we wanted a better way. We started using the Linux support branch of Kitematic ( PR #696) and tried to compile it.Īfter some fiddling we got the first build working. While polishing and testing Will the idea came up that it would be awesome to be able to use Kitematic on the new great 7” touch display of the Raspberry Pi foundation. So we thought, wouldn’t it be cool to have Kitematic running directly on your Raspberry Pi? And yes, we did it. This image now also supports the new 7” Raspberry Pi Touch Display out-of-the-box. It is the ultimate Docker playground with Docker Engine, Docker Compose, Docker Swarm and Docker Machine preinstalled. We have recently released our new SD card image called Will. A touch of magic: Controlling Kitematic & Docker with a touch display on the Raspberry Pi Mon, Oct 12, 2015 ![]()
0 Comments
Leave a Reply. |