Giter Club home page Giter Club logo

docker-azcopy's Introduction

Docker-AzCopy

Build Status Docker Hub pulls

Docker Hub badge

Docker-AzCopy is a Docker image based on Alpine Linux, pre-installed with Azure AzCopy tool. It offers multiple versions of AzCopy to choose from and can be easily utilized and integrated into CI/CD workflows.

See the AzCopy README for more information.

Docker image Repository

We push the built image to Docker Hub and GitHub Container Registry:

Use the prefix ghcr.io/ if you prefer to use GitHub Container Registry.

Versioning

The Docker image tags available here correspond to Azure AzCopy versions found on its releases page on GitHub, without the v prefix.

The latest tag and short version (version string without the minor or patch version) are also supported. For example, using tag 10 will be the same as using the latest 10.x.y, whatever the current latest version of v10 is.

You can find valid versions on the Docker Hub Tags page.

Although most versions of AzCopy have corresponding images here, please note that inactive images may be removed by Docker Hub. For more information, see the Docker blog post "Scaling Docker's business to serve millions more developers, storage partners, and enterprises."

Usage

docker run --rm -it -v /local/path/to/mount:/container/path peterdavehello/azcopy[:<version>] azcopy [command] [arguments]

For example:

docker run --rm -it -v $PWD/src:/src peterdavehello/azcopy:10.11.0 azcopy sync /src https://azcopydockertest.blob.core.windows.net/$$web

You can also confirm its version by:

$ docker run --rm -it -v $PWD/src:/src peterdavehello/azcopy:10.11.0 azcopy --version

Unable to find image 'peterdavehello/azcopy:10.11.0' locally
10.11.0: Pulling from peterdavehello/azcopy
540db60ca938: Already exists 
2bb029cc37b3: Pull complete 
0706491099ca: Pull complete 
Digest: sha256:bf339591009673060633cf95c3339e386a3d4e187e206da116547ac081a0b375
Status: Downloaded newer image for peterdavehello/azcopy:10.11.0
azcopy version 10.11.0

docker-azcopy's People

Contributors

odidev avatar peterdavehello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-azcopy's Issues

Require Linux/ARM64 Docker Image for azcopy

I have tried using peterdavehello/azcopy docker image on Linux/ARM64 platform but there is no arm64 tag available in the docker hub.
I have successfully built the docker image on my Linux/ARM64 Environment after editing β€˜GOARCH: arm64’ using the below command:

 docker build --build-arg AZCOPY_VERSION=10.11.0 -t azcpy64:latest . 

I have checked the Travis-CI but there is no release process mentioned in the same and I could not find any other release process to push the image to the Dockerhub .

It would be helpful if ARM64 Docker Image for peterdavehello/azcopy will be available.

May I know, what is the release process used to push Docker Image to the Docker hub?
If required, I am happy to contribute and raise PR.

--list-of-files parameter don't work

Hello Peter,

I have an issue i hope you can help solve it.
So i created an automation account that uses you container azcopy image:lastest and i'm trying to pass a parameter called
"--list-of-files" that is talked in here https://github.com/Azure/azure-storage-azcopy/wiki/Listing-specific-files-to-transfer
and i'm trying to parse my list of files that i want to copy in the automation account but the container throws me this error.

failed to parse user input due to error: cannot open 'C:\Temp\nix53pae.4pg\folder-temp\file.txt' file passed with the list-of-file flag
this file is generated inside the automation account.

Thanks

AzCopy not found

Hello,

Im getting this error when lunching the https://githubmemory.com/repo/PeterDaveHello/docker-azcopy

Error: Failed to start container test, Error response: to create containerd task: failed to create container 43a24db01d614c8bf63ea99b2d1fd3de76ac54aeaddc3d334b188e986de9928a: guest RPC failure: failed to create container: failed to run runc create/exec call for container 43a24db01d614c8bf63ea99b2d1fd3de76ac54aeaddc3d334b188e986de9928a with container_linux.go:349: starting container process caused "exec: "azcopy copy 'https://nrrdtest.file.core.wind --preserve-smb-info --preserve-smb-permissions --recursive": stat azcopy copy 'https://nrrdtest.file.core.wind --preserve-smb-info --preserve-smb-permissions --recursive: no such file or directory": exit status 1: unknown

Is there anything Im doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.