Tag: hypriot

我想知道,我怎样才能使容器使用端口转发?

我在RaspberryPi3上使用Raspbian-Stretch-Light,Hypriot OS,因为在Docker Container上构buildAP。 所以我find了使用raspAP包的Dockerfile。 像这样(它被我修改了一点), # FROM resin/rpi-raspbian:wheezy FROM armv7/armhf-ubuntu:yakkety # FROM hypriot/rpi-node:8.1.3-onbuild MAINTAINER Gary Ritchie <gary@garyritchie.com> # RUN apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0x908332071dd2e32e # RUN echo "deb http://deb.best-hosting.cz/debian/ wheezy main" > /etc/apt/sources.list.d/best-hosting.list #RUN wget https://archive.raspbian.org/raspbian.public.key -O – | sudo apt-key add – ######## # RUN echo "deb http://archive.raspbian.org/raspbian wheezy main contrib non-free" > […]

在rpi kubernetes节点上的Traefik返回404页面未find

我尝试通过练习来第一次体验kubernetes。 kubernetes v1.9已经安装在5个树莓派上作为集群安装。 操作系统:hypriot v1.4 主机/静态IPconfiguration/树莓硬件版本: 主人:192.168.1.230 / rpi v3 node01:192.168.1.231 / rpi v3 node02:192.168.1.232 / rpi v3 node03:192.168.1.233 / rpi v2 node04:192.168.1.234 / rpi v2 对于podnetworking我selectWeave Net。 Traefik已经作为负载平衡器安装在node01中 ,以便从外部访问我的服务。 我ssh的主人,并使用这些命令来安装它(来源: https : //blog.hypriot.com/post/setup-kubernetes-raspberry-pi-cluster/ ): $ kubectl apply -f https://raw.githubusercontent.com/hypriot/rpi-traefik/master/traefik-k8s-example.yaml $ kubectl标签节点node01 nginx-controller = traefik 所有系统窗格都在运行。 $ kubectl get pods –all-namespaces kube-system etcd-master 1/1 Running […]

在Raspberry pi / dev / spi上的Dockerfile中执行chmod *

我的Dockerfile有问题。 我在我的Docker容器上安装py-spidev以从传感器获取数据。 一切正常,并安装在容器中。 我唯一的问题是文件夹/dev/spi*只具有root权限的读写权限。 我需要阅读www数据的权利。 如果我在一个正在运行的容器上执行chmod 666 /dev/spi* ,则everthing可以正常工作。 我想要在Dockerfile中执行chmod 。 https://github.com/legionth/westfall-pi/blob/master/Dockerfile

Docker容器无法从github.com克隆

我目前正在尝试使用HypriotOS 0.6.1版在Raspberry Pi 2上运行Docker容器。 不幸的是,在我的家庭networking上,我无法从GitHub克隆。 root@aaeac2ab909d:/home/meteor# GIT_CURL_VERBOSE=1 git clone –depth 1 https://github.com/4commerce-technologies-AG/meteor.git Cloning into 'meteor'… * Couldn't find host github.com in the .netrc file; using defaults * Hostname was NOT found in DNS cache * Trying 192.30.252.129… * Connected to github.com (192.30.252.129) port 443 (#0) * found 173 certificates in /etc/ssl/certs/ca-certificates.crt * server certificate verification […]