ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unable to Generate the Mavsdk Docker

    VOXL m500 Reference Drone
    1
    1
    103
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Sarah McMahonS
      Sarah McMahon
      last edited by

      Hello,

      I’ve recently started working with the Modal AI M500 drone and am encountering issues while trying to build Docker images on the drone. Specifically, I am having trouble with both the Mavsdk and Mavsdk-Python images.

      Issue 1: Pulling Docker Image
      When attempting to pull the Python Docker image (modalai-public/voxl-mavsdk-python), I receive the following error:

      Error: Status 405 trying to pull repository modalai-public/voxl-mavsdk-python: "v1 Registry API is disabled. If you are not explicitly using the v1 Registry API, it is possible your v2 image could not be found. Verify that your image is available, or retry with dockerd --disable-legacy-registry. See https://cloud.google.com/container-registry/docs/support/deprecation-notices"
      Issue 2: Building Docker Image on Drone
      I also tried building the Docker image directly on my computer while connected to the drone via ADB, but encountered this error:

      Image: voxl-mavsdk-python:v1.1
      Waiting for device...
      Checking for docker support...
      -> Docker support not detected, running docker support on target...
      /bin/sh: voxl-configure-docker-support.sh: not found
      Building image: voxl-mavsdk-python:v1.1
      Dockerfile: 1 file pushed. 0.3 MB/s (802 bytes in 0.002s)
      takeoff_and_land2.py: 1 file pushed. 0.4 MB/s (941 bytes in 0.002s)
      offboard_position_ned2.py: 1 file pushed. 0.8 MB/s (2227 bytes in 0.003s)
      start-mavsdk-server.sh: 1 file pushed. 0.0 MB/s (109 bytes in 0.007s)
      Sending build context to Docker daemon 8.192 kB
      Step 1 : FROM ubuntu:bionic
      Pulling repository docker.io/library/ubuntu
      Error: Status 410 trying to pull repository library/ubuntu: "<html>\r\n<head><title>410 Gone</title></head>\r\n<body>\r\n<center><h1>410 Gone</h1></center>\r\n<hr><center>openresty</center>\r\n</body>\r\n</html>\r\n"
      Additional Information
      Docker Version: 1.9.0 on the VOXL
      Drone Firmware Version: - I just updated it to the newest SDK version 1.2.
      Could someone please assist me with these issues? Any guidance or suggestions would be greatly appreciated.

      Thank you!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors