This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 503
Docker
pervazea edited this page Jul 30, 2018
·
12 revisions
brew cask install docker
- Launch /Applications/Docker.app.
See Install Docker CE. The recommended approach is to install using the repository. See section "Install Docker CE", subsection "Install using the repository" and follow the instructions for:
- SET UP THE REPOSITORY followed by
- INSTALL DOCKER CE
See Docker CE if additional information is required.
- Launch Docker.
- From the folder containing the Dockerfile, build the Docker image.
docker build -t cmu-db/terrier .
- Run the Docker image:
docker run -itd --name build cmu-db/terrier
- Clone into the image:
docker exec build git clone https://github.com/cmu-db/terrier.git /repo
- Run CMake:
docker exec build mkdir -p /repo/build
docker exec -w /repo/build build cmake ..
docker exec -w /repo/build build make
docker exec -w /repo/build build make unittest
You can interact with the Docker image with
- single commands:
docker exec [-w WORKING_DIRECTORY] build BASH_COMMAND
- interactive:
docker exec -it build bash
To stop the Docker image, run both:
docker container stop build
docker rm build
Carnegie Mellon Database Group Website