You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kevin Bock b27ea50522
3 years ago
Dockerfile Starting commit for documentation & genetic algorithm 3 years ago Update 3 years ago

Geneva Docker

This implements the Docker base image for Geneva. Each docker container used by the evaluator runs out of the same base container.

To build it:

docker build -t base:latest -f docker/Dockerfile .

Optionally, to manually run/inspect the docker image to explore the image, run:

docker run -it base

You can run the base image with the below python:

import os
import docker

docker_client = docker.from_env()'base', detach=True, privileged=True, volumes={os.path.abspath(os.getcwd()): {"bind" : "/code", "mode" : "rw"}}, tty=True, remove=True, name="test")