Skip to content

Commit

Permalink
docker readme fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Oct 24, 2024
1 parent 0b1f80e commit 23a0437
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,13 @@ $ colcon build

## Docker

Build the yolo_ros docker:
Build the yolo_ros docker.

```shell
$ docker build . -t yolo_ros
$ docker build -t yolo_ros .
```

Running the docker container:

```shell
$ docker run -it --rm yolo_ros
```

Running the docker with GPU support:
Run the docker container. If you want to use CUDA, you have to install the [NVIDIA Container Tollkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) and add `--gpus all`.

```shell
$ docker run -it --rm --gpus all yolo_ros
Expand Down

0 comments on commit 23a0437

Please sign in to comment.