Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ambidextrous9/docker-for-ml-model-training
How to use docker to train ML Model
https://github.com/ambidextrous9/docker-for-ml-model-training
docker dockerfile ml pytorch pytorch-lightning
Last synced: about 2 months ago
JSON representation
How to use docker to train ML Model
- Host: GitHub
- URL: https://github.com/ambidextrous9/docker-for-ml-model-training
- Owner: ambideXtrous9
- License: mit
- Created: 2023-11-11T17:35:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-11T19:45:41.000Z (about 1 year ago)
- Last Synced: 2023-11-11T21:28:48.462Z (about 1 year ago)
- Topics: docker, dockerfile, ml, pytorch, pytorch-lightning
- Language: Python
- Homepage:
- Size: 185 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker for ML Model Training
How to use docker to train ML Model
Check Docker Images
```
sudo docker images
```Check Docker Running Images
```
sudo docker ps
```Build the Docker Image
```diff
sudo docker build -f Dockerfile -t docker_ml . --no-cache
```Run the Docker Image
```diff
sudo docker run -ti docker_ml /bin/bash -c "cd src && python temp.py"```
Run the Docker Image and open Terminal
```
sudo docker run -ti docker_ml /bin/bash
```Remove one or more specific images
```
sudo docker rmi
```Stop all Docker images
```
sudo docker stop $(sudo docker ps -a -q)
```Delete all images
```
docker system prune -a
```