Harvard-PRINCESS / Guppy

A very adaptable fish.
Other
1 stars 3 forks source link

Configure docker-compose #88

Closed alexpatel closed 7 years ago

alexpatel commented 7 years ago

docker-compose is a tool for having multi-container Docker configurations in a project.

Currently, we just have a single Dockerfile that results in one image that will build for all the platforms we have (PandaboardES etc.) and then just run x86_64.

With docker-compose, we can have a different configuration each platform (each of which inherits our base Ubuntu image), and then when you run docker-compose up it will run every supported platform in a different Docker container in parallel.

docker-compose comes with Mac/Windows Docker distributions and Docker Toolbox, but I've also added a link to how to manually install on Ubuntu if that doesn't work (presumably, pip should just work but I guess it may be more involved than that).

marikgoldstein commented 7 years ago

This pull request imposes better organization on our docker setup, in particular for when we start testing virtualized ARM Barrelfish.

In docker-compose.yml, we would add a service for ARM, which would run in a separate container but based off the same image as x86, etc...