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

    voxl-inspect on docker

    VOXL
    2
    4
    343
    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.
    • H
      hedd
      last edited by

      hello !
      i try to run “voxl-inspect-cpu " which is on host machine coded in a python script and i want to execute it on docker ,but when i build and run the image with the script it dosen't give me the result that i want ,how can fix that ?

      1 Reply Last reply Reply Quote 0
      • H
        hedd
        last edited by

        @wilkinsaf can you help !

        1 Reply Last reply Reply Quote 0
        • tomT
          tom admin
          last edited by

          @hedd Docker containers don't have access to any programs outside of the scope of their container. Files from the host machine can be mounted inside the docker container: https://docs.docker.com/storage/bind-mounts/

          It may be possible to run certain "voxl-" scripts inside the container if they're purely bash or python but this likely wouldn't work if they require a bunch of dependencies that are only available on the host machine.

          1 Reply Last reply Reply Quote 0
          • H
            hedd
            last edited by

            @tom there is no other methods for example use your nsenter ?!

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