This repository is used to create a Docker image with Webots already pre-installed. To use the already available image please follow the Webots installation instructions.
Use the following command to build the docker container from the Dockerfile:
docker build . --file Dockerfile --tag cyberbotics/webots:latest --build-arg WEBOTS_PACKAGE_PREFIX=_ubuntu-22.04
Use the following command to build the docker container from the Dockerfile_webots_cloud:
docker build . --file Dockerfile_webots_cloud --tag cyberbotics/webots.cloud:latest
You can run the previously built image with:
docker run -it cyberbotics/webots:latest /bin/bash
You can run the following command to remove all temporary images:
docker system prune