NVIDIA-ISAAC-ROS / isaac_ros_common

Common utilities, packages, scripts, Dockerfiles, and testing infrastructure for Isaac ROS packages.
https://developer.nvidia.com/isaac-ros-gems
Other
195 stars 139 forks source link

BuildKit error on Jetpack 5.1.1 Xavier #90

Closed jainRAV closed 11 months ago

jainRAV commented 1 year ago

When running ./run_dev.sh on newly installed and updated (apt) jetpack, following error occurs:

ERROR: BuildKit is enabled but the buildx component is missing or broken.
       Install the buildx component to build images with BuildKit:
       https://docs.docker.com/go/buildx/
Failed to build base image: isaac_ros_dev-aarch64, aborting.
javijurado commented 1 year ago

I have the same problem, I hope someone can help us

automech-rb commented 1 year ago

For now you can uninstall docker (Ubuntu version) and install docker-ce from docker website as a temporary solution.

tonaaskarwur commented 1 year ago

also happened for me with fresh new flashed Orin with Jetpack 5.1 Installing the docker-ce through apt worked fine so far

jaiveersinghNV commented 1 year ago

Could you please try again with the latest release on JetPack 5.1.2? We believe a simple reinstall should fix the issues with Docker BuildKit

We have detailed steps to resolve this in the troubleshooting section on our documentation website.

yijh0611 commented 1 year ago

I am experiencing the same issue. I am using JetPack 5.1.2, Jetson Orin NX. When I do

cd ~/workspaces/isaac_ros-dev/src/isaac_ros_common/ && \
  git lfs ls-files -s

I get

>   git lfs ls-files -s
945a1a82ee * docker/tao/tao-converter-aarch64-tensorrt8.4.zip (36 KB)

This doesn't look like the example on the link. Is this related to the problem?

yijh0611 commented 1 year ago

For now you can uninstall docker (Ubuntu version) and install docker-ce from docker website as a temporary solution.

This solved the problem. Thank you!

ikhann commented 1 year ago

When running ./run_dev.sh on newly installed and updated (apt) jetpack, following error occurs:

ERROR: BuildKit is enabled but the buildx component is missing or broken.
       Install the buildx component to build images with BuildKit:
       https://docs.docker.com/go/buildx/
Failed to build base image: isaac_ros_dev-aarch64, aborting.

Assigning DOCKER_BUILDKIT=0 here may temporarily solve the issue.

hemalshahNV commented 1 year ago

Disabling BuildKit will work temporarily but will soon break as we take advantage of BuildKit features + syntax which are not backwards compatible with the legacy builder environment. The issue here is that buildx plugin is no longer installed by default with docker (for some reason).

As @jaiveersinghNV mentioned, we have a troubleshooting note on this issue here that should help here. If not, please let us know.