Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.5 KB

airsim_docker_local_install_readme.md

File metadata and controls

31 lines (24 loc) · 1.5 KB

Running airsim environment with Docker locally on Ubuntu 18.04 Readme

Building airsim docker container and environment

  1. Clone AirSim repo
git clone https://github.com/microsoft/AirSim.git
  1. Install nvidia-docker 2.0 per instructions here

  2. Build image based on Ubuntu 18.04

python build_airsim_image.py \
   --base_image=nvidia/cudagl:10.1-devel-ubuntu18.04 \
   --target_image=airsim_binary:10.1-devel-ubuntu18.04
  1. Verify image is now available
  • docker images | grep airsim

Running airsim environment using docker containers

  1. Go to directory cd AirSim/docker if you have not
  2. Replace the settings.json file with your desired configuration from airsim settings folder
  3. Execute ./download_blocks_env_binary.sh to get default Blocks environment
  4. Execute ./run_airsim_image_binary.sh airsim_binary:10.1-devel-ubuntu18.04 Blocks/Blocks.sh -windowed -resX=1280 -resY=720 to run default Blocks environment
  5. Look for more environment in the Microsoft AirSim Linux 1.2.0 release page
  6. For headless mode append -- headless option. An example would be ./run_airsim_image_binary.sh airsim_binary:10.1-devel-ubuntu18.04 Blocks/Blocks.sh -windowed -resX=1280 -resY=720 -- headless

Acknowledgements and References

Modified from reference Microsoft AirSim repository docker readme