An open API service indexing awesome lists of open source software.

https://github.com/uduse/docker-based-research-workflow


https://github.com/uduse/docker-based-research-workflow

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Docker Based Research Workflow
A simple minimalist example to use docker for your research project.

## Workflow Structure
- develop and test your code locally
- push your code to GitHub and it will trigger a GitHub action
- the action will build a docker image and push it to registry under GitHub Packages
- on a powerful remote machine, pull the image and run experiments

Also see [`presentation.pdf`](./presentation.pdf) for some visual pollution.

## Common Commands
- `docker build .` builds an image
- `docker images` lists all images
- `docker ps -a` lists all containers
- `docker run ` runs a container
- `docker run -it ` runs a container in interactive mode
- `docker run --gpus all -it ` runs a container in interactive mode with GPU support (need to install `nvidia-docker`)
- `docker login -u -p ` logs in a docker registry
- `docker push :` pushes an image to a registry
- `docker pull --all-tags` pulls all images from a registry
- `docker system prune` clears stuff
- `docker exec ` runs a command in a container
- `docker cp : ` copies content from a container out