From 951a08b0f2640272b31378f23fbdab7bdc49c0ec Mon Sep 17 00:00:00 2001 From: Ben PHL Date: Thu, 19 Sep 2024 13:26:40 +0200 Subject: [PATCH] Migrate from `docker-compose` to `docker compose` --- drone-book/running_a_simulation.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drone-book/running_a_simulation.md b/drone-book/running_a_simulation.md index 2d1ef7c..523f425 100644 --- a/drone-book/running_a_simulation.md +++ b/drone-book/running_a_simulation.md @@ -9,7 +9,8 @@ Operating system: Linux / MacOS(?) (?) - Currently being tested -- Docker and Docker-compose for simulation (Install [Docker][install-docker] & [docker-compose][install-docker-compose]) +- Docker for simulation (Install [Docker][install-docker]) +- Docker Compose for simulation (Install [Docker Compose][install-docker-compose]) - Rust for `cargo run` (Install the [Rust][install-rust] programming language) - Git - `ssh` key set on your GitHub profile, see [Connecting to GitHub with SSH][github-ssh] @@ -23,11 +24,11 @@ Operating system: Linux / MacOS(?) 1.2. `git submodule init && git submodule update` -2. Run PX4, Gazebo and MAVSDK Server with `docker-compose` +2. Run PX4, Gazebo and MAVSDK Server with `docker compose` ``` -docker-compose up --detach +docker compose up --detach ``` **Tools:** `PX4` (autopilot), `Gazebo` (a tool for simulations) and `MAVSDK` server are all open-source tools and later we will get to know what each tool does. @@ -75,4 +76,4 @@ GAZEBO_MASTER_URI=127.0.0.1:11345 gzclient --verbose [install-docker]: https://docs.docker.com/engine/install/ [install-docker-compose]: https://docs.docker.com/compose/install/ [github-ssh]: https://docs.github.com/en/authentication/connecting-to-github-with-ssh -[qgroundcontrol]: http://qgroundcontrol.com \ No newline at end of file +[qgroundcontrol]: http://qgroundcontrol.com