Skip to content

Connecting to the kernel running against a notebook server running in a Docker container #32

@psychemedia

Description

@psychemedia

Hi

I was wondering if there are any recipes for running the kernel against a notebook server inside a Docker container on the same host as a Circuit Playground Express device?

On a Mac, I had a guess at:

docker run --privileged --device /dev/cu.usbmodem14101 -p 8866:8888 cctpy

where cctpy is a simple Docker image with a Jupyter notebook server and the Circuit Python kernel installed, but that doesn't seem to want to play:

No connection to CiruitPython VM: found no board

Checking /dev, there is no cu.usbmodem14101 mounted there.

Naively trying to mount the device as a volume didn't seem to help.

Trying to access devices from inside a docker container is new to me, so any ideas on how this might be made work (assuming it can) would be most welcome...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions