add

Add a volume to the container.

NOTE: This command does not exhibit the same behaviour docker does when mounting an empty volume to an non-empty directory in the container. See the doc page for more info.

Usage

add [FLAGS] [OPTIONS] [ARGS]

Options

ArgEnvironment VariableDescription
-c, --container<name>The name of the container to update. If not specified the default container will be used

Positionals

ArgEnvironment VariableDescription
<source>The source for the volume: either a name for a named volume or an absolute path on the host
<target>The absolute path in the container to mount source to