Sign inSign up

wenfengand/cosutils

By wenfengand

Updated about 7 years ago

Image
0

85

wenfengand/cosutils repository overview

tencent cos tools set

Just use it, get rid of the environment.

Usage

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

Dockerfile

FROM wenfengand/python:35 

# MAINTAINER
MAINTAINER [email protected]

RUN pip3 install coscmd
# change dir to /
WORKDIR /workspace
CMD ["bash"]

Tag summary

Content type

Image

Digest

Size

180.4 MB

Last updated

about 7 years ago

docker pull wenfengand/cosutils:cmd