The path on the DC/OS cluster agent nodes to store the docker credentials archive docker.tar.gz. Only absolute path is allowed here. Environment variable substitution is enabled for the path input. Due to the limitation in the underlying Mesos fetcher used by Marathon, special characters that need URI escaping and the character set {single quote ('), back slash (\), nul (\0)}, are not allowed in the path, otherwise it will fail to load the resource before running the container.

If not specified, the plugin will generate a path specific for the build with the following pattern.


/home/<linuxAdminUser>/acs-plugin-dcos.docker/<unique-name-generated-for-the-build>

The plugin will generate the docker credentials archive with the credentials provided, and upload the archive to the given path for all the agents. You can use it to construct the URI used in your Marathon application definition.


"uris":  [
    "file://<filled-path>/docker.tar.gz"
]

The URI will be exposed with the environment variable $MARATHON_DOCKER_CFG_ARCHIVE_URI. You can use this in your Marathon application definition when the "Enable Variable Substitution in Config" option is enabled. This helps when the upload path is not filled and generated by the build, or if the path changes frequently.

Note that if an archive exists in the target path already, the build will overwrite that file.

Reference: Marathon: Using a Private Docker Registry