File: docker.md

package info (click to toggle)
tiledarray 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,568 kB
  • sloc: cpp: 53,449; javascript: 1,599; sh: 393; ansic: 226; python: 223; xml: 195; makefile: 36
file content (15 lines) | stat: -rw-r--r-- 863 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Intro
These notes describe how to build TiledArray within the latest phusion (https://github.com/phusion/baseimage-docker) Docker image. This is useful for experimentation and/or provisioning computational results (e.g. for creating supplementary info for a journal article). If you want to use Docker to run/debug Travis-CI jobs, see [docker-travis.md](docker-travis.md)

# Using
These notes assume that Docker is installed on your machine and that you start at the top of the TiledArray source tree.

## Create/build Docker TA image
1. Create a Docker image: `bin/docker-build.sh`
2. Run a container using the newly created image: `docker run --privileged -i -t --rm tiledarray-dev:latest /sbin/my_init -- bash -l`

## Notes
- Important locations:
  - source: `/usr/local/src/tiledarray`
  - build: `/usr/local/src/tiledarray/build`
  - install: `/usr/local`