from invoke import task @task def start_dev(c): """Starts the """ print("Starting the developer environment...") # c.run("docker-compose -f docker-compose.yml up -d", pty=True)) c.run("xhost local:root") c.run("docker run --privileged -v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule='c 189:* rmw' -e DISPLAY=$DISPLAY -v $(pwd)/src/:/code -v /tmp/.X11-unix:/tmp/.X11-unix --network host --rm -i -t luxonis/depthai:latest bash", pty=True)