nerdexam
LPI

305-300 · Question #87

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 th

Sign in or unlock 305-300 to reveal the answer and full explanation for question #87. The question stem and answer options stay visible for context.

Containerization

Question

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?

Options

  • Adocker run --share-with datastore --name service debian bash
  • Bdocker run -v datastore:/data --name service debian bash
  • Cdocker run --volumes-from datastore --name service debian bash
  • Ddocker run -v /data --name service debian bash
  • Edocker run --volume-backend datastore -v /data --name service debian bash

Unlock 305-300 to see the answer

You've previewed enough free 305-300 questions. Unlock 305-300 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Docker volumes#volumes-from#data container#volume sharing
Full 305-300 Practice