Virtual Machine/Docker Installation

Virtual Machine

Docker

To run the Buzz container (a sort of virtual machine) you need to have Docker installed. To show ARGoS' graphical user interface, you also need an X Server:

  • For Windows: Xming
  • For Mac: XQuartz
  • For Linux: already present

Step 1 - Windows.

Once the installation is completed for both Docker and Xming, the X server needs to be configured. On Windows, run XLaunch and select No Access Control in the options. You will see an "X" icon in the Windows tray area once the server has started. Similarly, you can start XQuartz on Mac.

xming

Step 2

Pull the image of the Buzz container from the Internet with the command:

    docker pull mistlab/buzz_workstation

Step 3

You can start the virtual machine with ARGoS and Buzz using the following command:

On Windows/Mac

    docker run -it --rm -e DISPLAY=localhost:0 buzz_workstation

On Linux

xhost +
docker run -ti --rm \
       -e DISPLAY=$DISPLAY \
       -v /tmp/.X11-unix:/tmp/.X11-unix \
       buzz_workstation

This will take you to the command prompt of the virtual machine, where you can compile the examples and run ARGoS.