Which one of the following commands will result in the volume being removed automatically once the container has exited?

Posted by: Pdfprep Category: DCA Tags: , ,

Which one of the following commands will result in the volume being removed automatically once the container has exited?
A . ‘docker run –del -v /foo busybox’
B . ‘docker run –read-only -v /foo busybox’
C . ‘docker run –rm -v /foo busybox’
D . ‘docker run –remove -v /foo busybox’

Answer: C

Leave a Reply

Your email address will not be published.