Remove superfluous flag in docker documentation

The `-e` flag is used to define an environment variable. It requires a parameter. `-e --gpus all` means "Define environment variable `--gpus` to be empty, execute image `all:latest`. I have a suspicion that whoever wrote this intended to define an environment variable but forgot it (e.g. `NVIDIA_VISIBLE_DEVICES=0` used below).
This commit is contained in:
cheshirekow 2020-03-19 10:49:50 -07:00 committed by bernat
parent 901c6171e0
commit ee8b6921ad
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ docker pull carlasim/carla:0.8.2
Running CARLA under docker.
```sh
docker run -p 2000-2002:2000-2002 --runtime=nvidia -e --gpus all carlasim/carla:0.8.4
docker run -p 2000-2002:2000-2002 --runtime=nvidia --gpus all carlasim/carla:0.8.4
```
The `-p 2000-2002:2000-2002` argument is to redirect host ports for the docker container.