python 3 & the Pure Storage python toolkit
10K+
The purpose of this container is to be used for automating tasks on Pure Storage FlashArrays and Pure1 using the Pure python toolkit which leverages the Pure REST API. The toolkits for FlashArray (Purity//FA), Flashblade (Purity//FB) and Pure1 are included The image is based on the python:alpine base image and contains the latest Pure python toolkits.
See also:
FLASHARRAY: https://pypi.org/project/purestorage/
FLASHBLADE: https://purity-fb.readthedocs.io/en/latest/ PURE1: https://github.com/PureStorage-OpenConnect/py-pure-client
The easiest way is to map a local directory on your host to your container and start a bash shell e.g. markus@linuxhost:~$ docker run -i -t -v /home/markus/PureStorage/python:/purepython markusg/purepython sh to execute your pyhthon scripts.
Dockerfile:
FROM python:alpine
RUN apk update && apk upgrade RUN apk add --no-cache python-dev libffi-dev make gcc musl-dev openssl-dev zlib-dev libssl1.0
WORKDIR /purestorage
ADD . /purestorage
RUN pip install --upgrade pip RUN pip install -r requirements.txt --upgrade
Content type
Image
Digest
Size
104.8 MB
Last updated
almost 8 years ago
docker pull markusg/purepython