ExamGecko
Question list
Search
Search

Question 31 - 305-300 discussion

Report
Export

After setting up a data container using the following command:

docker create -v /data --name datastore debian /bin/true

how is an additional new container started which shares the /data volume with the datastore container?

A.
docker run --share-with datastore --name service debian bash
Answers
A.
docker run --share-with datastore --name service debian bash
B.
docker run -v datastore:/data --name service debian bash
Answers
B.
docker run -v datastore:/data --name service debian bash
C.
docker run --volumes-from datastore --name service debian bash
Answers
C.
docker run --volumes-from datastore --name service debian bash
D.
docker run -v /data --name service debian bash
Answers
D.
docker run -v /data --name service debian bash
E.
docker run --volume-backend datastore -v /data --name service debian bash
Answers
E.
docker run --volume-backend datastore -v /data --name service debian bash
Suggested answer: C
asked 18/09/2024
Peter Dunčko
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first