How to download datasets as mentioned in DIGITS guide for NGC container


I am using the DIGITS version from Docker container obtained through NGC. I run the DIGITS using:

nvidia-docker run --rm --name digits -p 8888:5000 -v /home/digits/data/:/data:ro -v /home/digits/jobs/:/workspace/jobs

I want to download the MNIST dataset as described here:

How can I run this python command to get dataset when the docker container is mounted?

I tried something like this:

nvidia-docker run --rm -w /home/digits/data/ python -m digits.download_data -h

But failed with output:

== DIGITS ==

NVIDIA Release 18.05 (build 425957)

Container image Copyright (c) 2018, NVIDIA CORPORATION.  All rights reserved.
DIGITS Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
Caffe Copyright (c) 2014, 2015, The Regents of the University of California (Regents). All rights reserved.
Torch Copyright (c) 2016, Soumith Chintala, Ronan Collobert, Koray Kavukcuoglu, Clement Farabet. All rights reserved.
TensorFlow Copyright (c) 2017, The TensorFlow Authors.  All rights reserved.

Various files include modifications (c) NVIDIA CORPORATION.  All rights reserved.
NVIDIA modifications are covered by the license terms that apply to the underlying project or file.

usage: [-h] [-p PORT] [-d] [--version]

DIGITS server

optional arguments:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  Port to run app on (default 5000)
  -d, --debug           Run the application in debug mode (reloads when the
                        source changes and gives more detailed error messages)
  --version             Print the version number and exit