# Regarding building the mavsdk-python Docker image.

Source: https://forum.modalai.com/topic/3611/regarding-building-the-mavsdk-python-docker-image
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2024-07-05 12:38:20 UTC by cy208183395
Replies: 7 · Views: 1427

## cy208183395 · 2024-07-05 12:38:20 UTC

When I was preparing to follow the [mavsdk-python](https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk-python) tutorial , I encountered an issue with the command :
```
voxl-configure-docker-support.sh
```
![2](https://forum.modalai.com/assets/uploads/files/1720182529963-cef1b2bc-fba7-46b2-866c-37ea674a0b52.png) 

As a workaround, I tried using the command:
 ```
./build-image.sh
```
 to execute this repo, but then I faced this problem:

![1](https://forum.modalai.com/assets/uploads/files/1720182488443-7377ef430eb38ad6e9a53e58d970d2d471eb82fea2b1afac1c10c11afc78d000.png) 

What should I do? My development board is VOXL2. Please help me, thank you!

## Reply by Eric Katzfey (ModalAI staff) · 2024-07-05 16:14:05 UTC

@cy208183395 Have you installed Docker on target? It doesn't come preinstalled. The documentation is here: https://docs.modalai.com/docker-on-voxl/#configuration

## Reply by Eric Katzfey (ModalAI staff) · 2024-07-05 16:15:04 UTC

@cy208183395 The voxl-configure-docker-support script is only used on VOXL. For VOXL 2 you need to install Docker and not run that script.

## Reply by cy208183395 · 2024-07-08 03:08:59 UTC (in reply to Eric Katzfey)

@Eric-Katzfey said in [Regarding building the mavsdk\-python Docker image\.](/post/18057):
> @cy208183395 The voxl-configure-docker-support script is only used on VOXL. For VOXL 2 you need to install Docker and not run that script.
Thank you very much for your reply

## Reply by cy208183395 · 2024-07-09 11:24:47 UTC (in reply to Eric Katzfey)

@Eric-Katzfey  

I encountered a **new problem**. After I installed Docker as you suggested [this website](https://docs.modalai.com/docker-on-voxl/#configuration) .I successfully started and ran it:

![1.png](https://forum.modalai.com/assets/uploads/files/1720523830365-1.png) 
&&
![2.png](https://forum.modalai.com/assets/uploads/files/1720523854527-2.png) 

But when I followed the [tutorial](https://docs.modalai.com/mavsdk/) to download the repository and executed the command 
```
./build-image.sh
```
 it showed **"command not found"**:
![4.png](https://forum.modalai.com/assets/uploads/files/1720524143802-4.png) 

I tried setting the environment variable, but it **still didn't work**.

Then I continued to watch the **tutorial video,** entered the voxl2 shell, navigated to the folder ***/data/docker/mavsdk***, and executed the command .**/run-docker.sh**. It still showed that the docker command was not found:
![6.png](https://forum.modalai.com/assets/uploads/files/1720524238277-6.png) 

This means that whether I am **in the voxl2 shell** environment or **not**, the docker ***command is not found***.

Can you help me? I followed your requirements, but I am stuck here. Please help me, thank you!

## Reply by Eric Katzfey (ModalAI staff) · 2024-07-09 15:03:32 UTC (in reply to cy208183395)

@cy208183395 Did you install Docker on your host machine or on VOXL 2? It needs to be installed on VOXL 2.

## Reply by cy208183395 · 2024-07-11 05:19:46 UTC (in reply to Eric Katzfey)

@Eric-Katzfey Yes, I currently have Docker installed on my host machine, but it is not installed on the voxl2.

## Reply by Eric Katzfey (ModalAI staff) · 2024-07-11 15:46:59 UTC (in reply to cy208183395)

@cy208183395 Yes, well then that is your problem. When you try to run it on VOXL 2 and you don't have Docker installed on VOXL 2 then you will see an error like `docker: command not found`. You have to install Docker on VOXL 2.
