kucharzyk / spring-angular2-starter

PROJECT DISCONTINUED
MIT License
210 stars 65 forks source link

orpaned docker containers and unused image cleanup #15

Closed tsukhu closed 8 years ago

tsukhu commented 8 years ago

If we continuously keep building and running containers there are a lot of orphaned containers and old images that get accumulated on the docker machine. A new script is created that the user can run to clean up his environment and save on disk space as well.

Future enhancement: Ideally this can be integrated with the maven build process so that during a 'mvn clean' call this script is called to take care of this automatically.

kucharzyk commented 8 years ago

Script is good but for maven integration we can't assume that developers using linux or max. It won't work for windows users