|
|
|
@ -31,7 +31,7 @@ new |
|
|
|
|
|
|
|
|
|
.. code:: |
|
|
|
|
|
|
|
|
|
sponson container new [--version <image version>] [--readwrite] <image name> <new container name> |
|
|
|
|
sponson container new [--version <image version>] [--volume <volume name>:<volume source path>]* [--readwrite] <image name> <new container name> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create a new container based on the provided image name. |
|
|
|
@ -41,6 +41,11 @@ The container name must be unique. |
|
|
|
|
The latest version of the image is used as a base for the container, |
|
|
|
|
unless ``--version`` provides a specific version. |
|
|
|
|
|
|
|
|
|
Volumes can be defined for this container using the ``--volume`` option. |
|
|
|
|
The argument should be of the form ``<volume name>:<volume source path>``. |
|
|
|
|
|
|
|
|
|
``--volume`` can be defined multiple times for each volume in the container. |
|
|
|
|
|
|
|
|
|
Containers are by default read-only, |
|
|
|
|
however if ``--readwrite`` is specified the container is writable, |
|
|
|
|
and any changes made by the container are stored in |
|
|
|
|