Data-only Containers Container volumes are containers that store and can share data, either exclusively as with data-only containers or as a side-benefit of regular containers with mounted volumes. Data-only containers take up no more resources than needed to provide storage services. They are instantiated via docker create or the VOLUME instruction in a Dockerfile. Use docker volume create to create a volume at the command line: $ docker volume create --name vol44 The volume can be attach to a container at run-time: $ docker run --rm -it -v vol44:/cvol44 alpine sh Volumes can also be created via the VOLUME instruction in a Dockerfile : FROM alpine VOLUME /data55 Describe the intent of the following commands: $ docker build -t vol45:01 . $ docker images $ docker inspect b159452444cb $ docker run