cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2126
Views
1
Helpful
3
Replies
Paulo Seguel
Cisco Employee

How to access serial in a docker container?

is there a way to tell a docker container to use a serial device in the IR829?

I know that a typical Docker container can be granted serial device access with "docker run --device=/dev/ttyS3 ..."

But how do I tell to the ioxclient/local manager to grant serial device access to a package?

3 REPLIES 3
Steve Zhang
Cisco Employee

You need to set the serial port in the file of package.yaml. Please refer to Cisco DevNet: IOx - Docs (go to Python Application Using Serial Port as an example for using serial port)

Cisco DevNet: IOx - Docs, in this link we can see the examples for creating docker files, Yaml and container, but we couldn't found any serial port example with Yaml,

we are getting following error for the python example link provided

Capture.PNG

Is there any serial port example for docker container with Yaml file

Content for Community-Ad

This widget could not be displayed.