Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```