PX4Docker/README.md

15 lines
755 B
Markdown
Raw Normal View History

2023-06-14 12:42:59 -03:00
To install the docker, first you need git installed. To do so, run sudo apt install git
After you have installed git, move to whichever directory you want to host the project (for example cd ~)
Run git clone https://git.spirirobotics.com/scorpio1/PX4Docker.git
Run cd PX4Docker
If you previously have docker installed, you should be able to launch the docker file using docker compose up --build, other you need to run the install script
To run the install script, use the commands chmod u+x px4dockersetup.sh followed by sudo ./px4dockersetup.sh
Once the docker is built, you can enter it by checking the name of the docker using docker ps, and enter it using docker exec -it (name of docker) bash
If docker commands aren't running, try using sudo