This repo contains docker file that builds UE4 dev environment for latest dev carla branch.
- Make sure you have nvidia card and nvidia docker installed
- Make sure you have connected your EpicGames account and your guthub account.
- Generate keypair and deploy your public key to your github account (when asked for private key passphrase, leave it blank).
- Name your private key file as
carla_keys
and place it right next to the Dockerfile - Build Dockerfile with someting like
docker build -t my_carla:dev .
(this might take 1 to 3 hours depending on your hardware and ~250GB of free disk space) - Run the image with GUI support like this (here I limit cpu usages to
9
cores to leave some processing power for host tasks):
docker run \
-it \
--env="DISPLAY" \
--env="QT_X11_NO_MITSHM=1" \
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
--gpus all \
--cpus="9.0" \
--privileged \
--network="host" \
my_carla:dev
- Run
make launch
command. This will start UE4 Editor with Carla plugins. - Done. Now you can introduce changes and build standalone packages. For example here you can watch the viodeo demostrating adding custom map to Carla.