This repository was archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 501
Docker
Wan Shen Lim edited this page Jul 23, 2018
·
12 revisions
brew cask install docker- Launch /Applications/Docker.app.
Install Docker CE.
- Launch Docker.
- Obtain the Docker image.
- Option 1 (recommended): pull the pre-built container.
docker pull TODO
- Option 2: pull the Dockerfile from TODO and build from scratch.
docker build -t lmwnshn/cmudb-docker .
- Run the Docker image:
docker run -itd --name build lmwnshn/cmudb-docker - 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/builddocker exec -w /repo/build build cmake ..docker exec -w /repo/build build makedocker exec -w /repo/build build make test
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 builddocker rm build
Carnegie Mellon Database Group Website