testing - Run MongoDB in a Docker container with no volumes -


this slitty odd question run mongo db no volume @ all.

the reason is, can run tests on ci , able clear down after tests run.

we building image docker mongo dockerfile , removing volume (line 63) volume /data/db /data/configdb @ end of docker build errors write /var/lib/docker/tmp/getimageblob872455794: no space left on device.

is possible?

mongo needs data volume write data when runs.

i think best option remove volume when remove container

docker rm -v my-mongo

adding -v flag docker rm remove associated volumes

https://docs.docker.com/engine/reference/commandline/rm/


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -