Skip to content

Commit

Permalink
Update docker_ubuntu.md
Browse files Browse the repository at this point in the history
Numpy now require python 3.6, which is not available without extra ppa on ubuntu 16.04. Updating the documentation to make sure that we recommend a version that works with the Dockerfile provided
  • Loading branch information
GuillaumeLeclerc authored Jul 20, 2020
1 parent b7a65bb commit 36d64e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/docker_ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ We've two options for docker. You can either build an image for running [airsim

#### Build the docker image
- Below are the default arguments.
`--base_image`: This is image over which we'll install airsim. We've tested on Ubuntu 16.04 + CUDA 10.0.
`--base_image`: This is image over which we'll install airsim. We've tested on Ubuntu 18.04 + CUDA 10.0.
You can specify any [NVIDIA cudagl](https://hub.docker.com/r/nvidia/cudagl/) at your own risk.
`--target_image` is the desired name of your docker image.
Defaults to `airsim_binary` with same tag as the base image
```
$ cd Airsim/docker;
$ python build_airsim_image.py \
--base_image=nvidia/cudagl:10.0-devel-ubuntu16.04 \
--target_image=airsim_binary:10.0-devel-ubuntu16.04
--base_image=nvidia/cudagl:10.0-devel-ubuntu18.04 \
--target_image=airsim_binary:10.0-devel-ubuntu18.04
```

- Verify you have an image by:
Expand All @@ -35,9 +35,9 @@ You can download it by running
```
$ ./run_airsim_image_binary.sh DOCKER_IMAGE_NAME UNREAL_BINARY_SHELL_SCRIPT UNREAL_BINARY_ARGUMENTS -- headless
```
For blocks, you can do a `$ ./run_airsim_image_binary.sh airsim_binary:10.0-devel-ubuntu16.04 Blocks/Blocks.sh -windowed -ResX=1080 -ResY=720`
For blocks, you can do a `$ ./run_airsim_image_binary.sh airsim_binary:10.0-devel-ubuntu18.04 Blocks/Blocks.sh -windowed -ResX=1080 -ResY=720`

* `DOCKER_IMAGE_NAME`: Same as `target_image` parameter in previous step. By default, enter `airsim_binary:10.0-devel-ubuntu16.04`
* `DOCKER_IMAGE_NAME`: Same as `target_image` parameter in previous step. By default, enter `airsim_binary:10.0-devel-ubuntu18.04`
* `UNREAL_BINARY_SHELL_SCRIPT`: for Blocks enviroment, it will be `Blocks/Blocks.sh`
* [`UNREAL_BINARY_ARGUMENTS`](https://docs.unrealengine.com/en-us/Programming/Basics/CommandLineArguments):
For airsim, most relevant would be `-windowed`, `-ResX`, `-ResY`. Click on link to see all options.
Expand Down

0 comments on commit 36d64e1

Please sign in to comment.