Hi Balean Support team,
I’m struggling with installing Balena wifi-connect inside Django container running on Raspberry Pi.
I downloaded the following git repository on Raspberry Pi4.
This works well outside the docker container, but I want to install and run it inside the web docker container. I don’t want to have it that works as an container. I just want to install and use it in a web container that is already running. I burnt the latest version of RaspbianOS (32bit lite version) on Pi.
Here is Dockerfile for django container.
FROM python:3.7.3 ENV PYTHONUNBUFFERED=0 WORKDIR /app ADD requirements.txt /app/ RUN pip3 install -r requirements.txt RUN pip3 install netifaces RUN apt-get install -y systemd RUN apt-get install -y supervisor RUN service supervisor restart COPY . /app ADD uart.conf /etc/supervisor/conf.d ADD net_monitor.conf /etc/supervisor/conf.d WORKDIR /app/wifi-connect/scripts RUN chmod +x raspbian-install.sh RUN ./raspbian-install.sh WORKDIR /app RUN chmod 774 docker-entrypoint.sh ENTRYPOINT ["bash", "docker-entrypoint.sh"]
When I run raspbian-install.sh in the container, I got the following error.
I have already met with two errors and solved them by installing systemd in the container and deleting all sudo in raspbian-installer.sh file, but I don’t have an idea to solve the above issue.
I’m guessing this is related to the dbus setting on the Raspbian.
I hope you help me about this problem.
Thanks in advance.