Tell docker to delete the volume as well

Addresses #62

Because of the use of volumes the .img files (and everything else) will stay around on disk even when you do `docker rm pigen_work`. Passing `-v` deletes the volume as well and frees up disk space.
This commit is contained in:
Andrew Smith 2017-05-17 16:36:04 +01:00 committed by XECDesign
parent d2f88a6e4f
commit 22c4105b57

View File

@ -76,7 +76,7 @@ vi config # Edit your config file. See above.
``` ```
If everything goes well, your finished image will be in the `deploy/` folder. If everything goes well, your finished image will be in the `deploy/` folder.
You can then remove the build container with `docker rm pigen_work` You can then remove the build container with `docker rm -v pigen_work`
If something breaks along the line, you can edit the corresponding scripts, and If something breaks along the line, you can edit the corresponding scripts, and
continue: continue: