~dvshkn/docker-anaconda-py3

7fda4e3ef99032566988bf111cb3c96f9fa67f2a — David Knight 2 years ago 3212b17
add content to README.md
1 files changed, 22 insertions(+), 1 deletions(-)

M README.md
M README.md => README.md +22 -1
@@ 1,2 1,23 @@
# docker-anaconda-py3
Dockerfile for a python 3 anaconda environment
This dockerfile creates containers ready for numeric Python 3 development.

## Features
- Uses Anaconda for simpler dependencies
- Mounts a directory from the host to `~/data` inside the container
- Publishes a port to the host for accessing a Jupyter Notebook server

## Usage
1. Download an [Anaconda](https://www.anaconda.com/) installer to `files/anaconda_installer.sh`.
2. Copy the `config.example` file to `config` and edit the `DATA_DIR` value to point to a host directory that will be mounted inside the container.
3. Run the build script. This will create the docker image.
```
$ ./build.sh
```
1. Run the create script. This will create a docker container that is pre-configured to mount `DATA_DIR` and publish a port on `127.0.0.1`.
```
$ ./create.sh
```
5. Start and attach to the new container.
```
$ docker start -ai anaconda-py3
```