For details on setting up docker and docker-compose see https://docs.docker.com/compose/install/ This will install local instances of the analysis and web server on a unix/linux system. For a windows installation see https://docs.docker.com/docker-for-windows/ The end result should be an directory with the docker-compose and ".env" file (On windows renaming a file ".file." will produce ".file", or choose save as "." in notepad)
Make an isolated directory and download the docker-compose file to install the pre-built ARTS containers:
mkdir ARTSdocker && cd ARTSdocker wget -O docker-compose.yml https://bitbucket.org/ziemertlab/arts/raw/HEAD/docker-compose-arts.yml
Set environment variables for multiprocessing, port number to run webserver, and shared folders of host system (replace /tmp with desired path or use these as the default):
echo "ARTS_RESULTS=/tmp" > .env echo "ARTS_UPLOAD=/tmp" >> .env echo "ARTS_RUN=/tmp" >> .env echo "ARTS_CPU=1" >> .env echo "ARTS_WEBPORT=80" >> .env
Build and start the services (from the ARTSdocker directory):
docker-compose up
Shutting down services and clear containers from disk storage:
docker-compose down
Extra) Start services in the background, check for running services, and shutdown without removing containers from disk:
docker-compose up -d docker ps -a docker-compose stop