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

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Hugh
Hugh
3 years ago

D