opengeospatial / templates

OGC document templates in AsciiDoc
Apache License 2.0
11 stars 20 forks source link

metanorma: docker commands should include --rm #31

Closed ccrook closed 1 year ago

ccrook commented 3 years ago

The docker commands in the metanorma branch for abstract specification do not include --rm. This means that the stopped image is retained after the metanorma command has completed. They just keep accumulating on the users system. E.g.,

docker run -v "$(pwd)":/metanorma metanorma/mn metanorma new -d abstract-specification-topic -t ogc -l https://github.com/metanorma/mn-templates-ogc folder_for_abstract_specification_topic

I think it may be better to use the command "docker run --rm -v ....." to remove the image once the metanorm command has exited.