PdfPrep.com

Which of the following commands wifi automatically create a volume when a container is started?

Which of the following commands wifi automatically create a volume when a container is started?
A . ‘docker container run –name nginxtest –volumes=/app nginx’
B . ‘docker container run –name nginxtest -v /app:mount nginx’
C . ‘docker container run –name nginxtest –volumes myvol:/app:new nginx’
D . ‘docker container run –name nginxtest -v myvol:/app nginx’

Answer: A

Exit mobile version