https://github.com/krmisha/argos-dockerfile
A Dockerfile to containerize the ARGoS simulator and its examples
https://github.com/krmisha/argos-dockerfile
Last synced: 8 months ago
JSON representation
A Dockerfile to containerize the ARGoS simulator and its examples
- Host: GitHub
- URL: https://github.com/krmisha/argos-dockerfile
- Owner: KRMisha
- Created: 2021-01-22T16:38:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-22T20:57:32.000Z (over 4 years ago)
- Last Synced: 2024-12-28T17:14:23.310Z (9 months ago)
- Language: Dockerfile
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ARGoS Dockerfile
A Dockerfile to containerize the [ARGoS](https://github.com/ilpincy/argos3) simulator and its [examples](https://github.com/ilpincy/argos3-examples).
## Prerequisites
- [Docker](https://docs.docker.com/engine/install/)
- [x11docker](https://github.com/mviereck/x11docker)## Setup
1. Clone the repo and cd into it:
```sh
git clone https://github.com/KRMisha/ARGoS-Dockerfile.git
cd ARGoS-Dockerfile
```2. Build the image:
```sh
docker build . -t argos
```## Usage
1. Start the container interactively with x11docker:
```sh
x11docker -i --hostdisplay argos
```2. Run one of the ARGoS experiment examples:
```sh
cd /argos3-examples
argos3 -c experiments/diffusion_10.argos
```A simulator window should now appear.
3. To exit the container, press `Ctrl+D` or use the `exit` command.