June-29th-2018, 07:49 AM
Thanks for your quick answer.
Even if I comment these lines out I get the error with your Ethernet across Industrial Ethernet ports image.
I get this error when Docker tries to run the apt-get update ... line.
Any Ideas why this is happening?
Do I need to choose another debian:jessie image?
--------------
Docker Build output
--------------
Step 1/8 : FROM resin/armv7hf-debian:jessie
---> 16a1a7000edb
Step 2/8 : LABEL maintainer="netpi@hilscher.com" version="V0.9.1.0" description="netX based TCP/IP network interface"
---> Using cache
---> bf0e0d9efee1
Step 3/8 : ENV HILSCHERNETPI_NETX_TCPIP_NETWORK_INTERFACE_VERSION 0.9.1.0
---> Using cache
---> 4879940e35e0
Step 4/8 : COPY "./init.d/*" /etc/init.d/
---> Using cache
---> f39f214d4000
Step 5/8 : COPY "./driver/*" "./firmware/*" /tmp/
---> Using cache
---> 5d50783c4c77
Step 6/8 : RUN apt-get update && apt-get install -y openssh-server build-essential && useradd --create-home --shell /bin/bash pi && echo 'root:root' | chpasswd && echo 'pi:raspberry' | chpasswd && adduser pi sudo && mkdir /var/run/sshd && sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd && dpkg -i /tmp/netx-docker-pi-drv-1.1.3.deb && dpkg -i /tmp/netx-docker-pi-pns-eth-3.12.0.8.deb && gcc /tmp/cifx0daemon.c -o /opt/cifx/cifx0daemon -I/usr/include/cifx -Iincludes/ -lcifx -pthread && rm -rf /tmp/* && apt-get remove build-essential && apt-get -yqq autoremove && apt-get -y clean && rm -rf /var/lib/apt/lists/*
---> Running in 48aa168c4293
cgroups: cannot find cgroup mount destination: unknown
Also there is an error in the development container:
--------------
Build Container Log
--------------
2018-06-29T06:47:41.518814961Z mount: cgroup is already mounted or /sys/fs/cgroup/cpu busy
2018-06-29T06:47:41.544934996Z cgroup is already mounted on /sys/fs/cgroup/cpuset
2018-06-29T06:47:41.559020764Z mount: cgroup is already mounted or /sys/fs/cgroup/cpuacct busy
2018-06-29T06:47:41.560117218Z cgroup is already mounted on /sys/fs/cgroup/cpuset
Does this have something to do with the error from within the docker building process?
Even if I comment these lines out I get the error with your Ethernet across Industrial Ethernet ports image.
I get this error when Docker tries to run the apt-get update ... line.
Any Ideas why this is happening?
Do I need to choose another debian:jessie image?
--------------
Docker Build output
--------------
Step 1/8 : FROM resin/armv7hf-debian:jessie
---> 16a1a7000edb
Step 2/8 : LABEL maintainer="netpi@hilscher.com" version="V0.9.1.0" description="netX based TCP/IP network interface"
---> Using cache
---> bf0e0d9efee1
Step 3/8 : ENV HILSCHERNETPI_NETX_TCPIP_NETWORK_INTERFACE_VERSION 0.9.1.0
---> Using cache
---> 4879940e35e0
Step 4/8 : COPY "./init.d/*" /etc/init.d/
---> Using cache
---> f39f214d4000
Step 5/8 : COPY "./driver/*" "./firmware/*" /tmp/
---> Using cache
---> 5d50783c4c77
Step 6/8 : RUN apt-get update && apt-get install -y openssh-server build-essential && useradd --create-home --shell /bin/bash pi && echo 'root:root' | chpasswd && echo 'pi:raspberry' | chpasswd && adduser pi sudo && mkdir /var/run/sshd && sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd && dpkg -i /tmp/netx-docker-pi-drv-1.1.3.deb && dpkg -i /tmp/netx-docker-pi-pns-eth-3.12.0.8.deb && gcc /tmp/cifx0daemon.c -o /opt/cifx/cifx0daemon -I/usr/include/cifx -Iincludes/ -lcifx -pthread && rm -rf /tmp/* && apt-get remove build-essential && apt-get -yqq autoremove && apt-get -y clean && rm -rf /var/lib/apt/lists/*
---> Running in 48aa168c4293
cgroups: cannot find cgroup mount destination: unknown
Also there is an error in the development container:
--------------
Build Container Log
--------------
2018-06-29T06:47:41.518814961Z mount: cgroup is already mounted or /sys/fs/cgroup/cpu busy
2018-06-29T06:47:41.544934996Z cgroup is already mounted on /sys/fs/cgroup/cpuset
2018-06-29T06:47:41.559020764Z mount: cgroup is already mounted or /sys/fs/cgroup/cpuacct busy
2018-06-29T06:47:41.560117218Z cgroup is already mounted on /sys/fs/cgroup/cpuset
Does this have something to do with the error from within the docker building process?