Bind mount the pylib on docker container

Hello @Ivan_H, I'm glad you're seeing some benefits here!

If you want to put third-party python libraries (external or your own), I'd recommend bind-mounting to /usr/local/bin/ignition/user-lib/pylib/site-packages folder, which is empty in a default installation (making it trivial for a bind-mount).

You can then drop modules/scripts in there such as shown below:

And then use those in a script, such as here:

2 Likes