Changing settings in /sys from container


#1

I need to tweak the bluetooth setting from the app container.
Specifically

  echo 6 > /sys/kernel/debug/bluetooth/hci0/conn_max_interval

This is something that the sysctl command handles on a normal OS.
This currently does not work - the command must be executed on the Host OS which is currently not possible.


#4

The sysfs is mounted onto the container, and it’s privileged, so it should work just as on the host OS. Unless you’re running this on a multicontainer app?


#6

I am not using a standard image - I will try and change this…


#7

I need python 3.6 so changed:

FROM arm32v7/ubuntu:artful

to

FROM resin/raspberrypi3-python:3.6

but this still installs python3.4 (as it is based on jessie) and results in lots of errors

when trying to execute pip3 and suchlike.

I think this resin image is broken - how do I report this?


#8

I need python 3.6 so changed:

FROM arm32v7/ubuntu:artful

to

FROM resin/raspberrypi3-python:3.6

but this still installs python3.4 (as it is based on jessie) and results in lots of errors

when trying to execute pip3 and suchlike.

I think this resin image is br


#10

@phewlett I’ve notified the maintainer of our base images about this.

That being said, the things you may see at /sys should not depend on the base image you use, as they are mounted from the host. You should be able to confirm this by running webterminals on the host and your container - /sys is the same in both.


Edit: I saw you’re already discussing the python issue in Python 3.6 is broken