Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 712 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 712 Bytes

Docker-AzCopy

ghcr-size ghcr-tags

Usage

STORAGE_ACCOUNT_NAME=examplesa
CONTAINER_NAME=examplecontainer
# optional
SAS_TOKEN="XXXXXXX"

docker run --rm \
  --name azcopy \
  -v /path/to/data/dir:/data-dir:ro \
  ghcr.io/licenseware/docker-azcopy:v10.26.0 \
  azcopy copy "/data-dir" "https://$STORAGE_ACCOUNT_NAME.blob.core.windows.net/$CONTAINER_NAME/data-dir$SAS_TOKEN" --recursive