Just use it, get rid of the environment.
Save following commands in a script named cos:
#!/bin/bash
docker run --rm \
-v $(pwd)/.cos.conf:/root/.cos.conf \
wenfengand/cosutils:cmd \
coscmd $*
Where .cos.conf is the secret key and if your cos storage, see here.
Chinese language support:
-e LC_ALL=C.UTF-8
List objects:
./cos list
FROM wenfengand/python:35
# MAINTAINER
MAINTAINER [email protected]
RUN pip3 install coscmd
# change dir to /
WORKDIR /workspace
CMD ["bash"]
Content type
Image
Digest
Size
180.4 MB
Last updated
about 7 years ago
docker pull wenfengand/cosutils:cmd