Using DASCore with Docker
If you have Docker installed, you may also run the stable build of DASCore in a Docker container.
First you need to clone the DAScore main repository:
https://github.com/DASDAE/dascore
Then go to the DAScore directory and run docker build:
cd dascore
docker build -t dascore .
To run a Python script with the DAScore, mount the directory containing your scripts to the /app
directory to the image using -v
flag:
docker run -it -v $PWD:/app dascore python /app/test.py
In the example above, we assume test.py
is in our parent working directory ($PWD
).