https://github.com/uduse/docker-based-research-workflow
https://github.com/uduse/docker-based-research-workflow
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/uduse/docker-based-research-workflow
- Owner: uduse
- Created: 2020-06-11T18:15:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-22T19:54:13.000Z (almost 5 years ago)
- Last Synced: 2025-03-14T15:54:34.066Z (about 2 months ago)
- Language: C++
- Size: 1.03 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 experimentsAlso 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