PdfPrep.com

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

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

Exit mobile version