Which one of the following commands will result in the volume being removed automatically once the container
has exited?
Will this command display a list of volumes for a specific container?
Solution: docker volume inspect nginx'
During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container.
Will this strategy successfully accomplish this?
Solution: Add a volume to the pod that sets hostPath.path: /data, and then mount this volume into the pod's containers as desired.
You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?
Solution: Turn the configuration file into a configMap object and mount it directly into the appropriate pod and container using the .spec.containers.configMounts key.
Will this command display a list of volumes for a specific container?
Solution: 'docker container inspect nginx'