Dask is a flexible library for parallel computing in Python. Dask is composed of two parts:
$ docker run -d --name=some-scheduler image:tag dask-scheduler
Where:
some-scheduler is name you want to assign to your containerimage is Docker image nametag is Docker image version$ docker run -d --name=some-worker image:tag dask-worker some-scheduler:8786
Where:
some-worker is name you want to assign to your containersome-scheduler:8786 is scheduler endpoint at which worker will connectimage is Docker image nametag is Docker image versionNOTE It is recommended to mount one shared directory for workers because all workers must have access to external files you use (e.g reading csv file into dask dataframe).
EXTRA_APT_PACKAGES
This is optional variable. It specifes extra apt packages that you want to install. Example
$ -e EXTRA_APT_PACKAGES="vim nano"
EXTRA_PIP_PACKAGES
This is optional variable. It specifes extra pip packages that you want to install. Example
$ -e EXTRA_APT_PACKAGES="shapely datetime"
TZ
This is optional variable. It specifes timezone. Default value is Europe/Zagreb.
Content type
Image
Digest
Size
504.7 MB
Last updated
about 5 years ago
docker pull dalmatialab/dask