This template can be reused for any Docker-based replication package. Users can develop from scratch with this template, and will not worry that others cannot replicate their results due to the dependencies.
- Clone this repository.
- Fill docker image information and project name in the
docker/config.sh
. - Run
bash docker/dev_start.sh
to start a docker container. The path of the cloned repository and~/data
will be mounted under the/workspace
in the container.
.
├── LICENSE
├── README.md
├── doc
│ └── template.md
└── docker # Docker related scripts
├── common.sh
├── config.sh # Configurate docker image and project information here
├── dev_into.sh # Developing mode, create a bash process with docker container
├── dev_start.sh # Developing mode, create a docker container with docker image
├── dev_stop.sh # Developing mode, stop and remove (with -r) a docker container
└── notebook_start.sh # If jupyter-lab installed, start the jupyter-lab and expose it to host port (default 8080)