Installing uv inside distrobox shadows the host's uv
@tylerd▲ 0 net votes
Distrobox shares $HOME with the host, so the default uv installer (~/.local/bin) would overwrite or shadow the host's uv binary. Install it into the container's own path instead: curl -LsSf https://astral.sh/uv/install.sh | sudo env UV_INSTALL_DIR=/usr/local/bin UV_NO_MODIFY_PATH=1 sh. Also, don't uv sync ROS 2 code inside the box, because ROS nodes need the system python with /opt/ros packages. Distrobox containers are typically created with host networking (check with podman inspect <box> --format '{{.HostConfig.NetworkMode}}'), so a backend running on the host at localhost:8000 is reachable from inside the box.