Skip to content

Docker image for the official Backblaze B2 command line tool

License

Notifications You must be signed in to change notification settings

Sierra1011/backblaze-b2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build GitHub release (latest SemVer)

Docker Backblaze B2 command line tool image

Docker image for the official Backblaze B2 command line tool (Backblaze/B2_Command_Line_Tool)

Supported tags and respective Dockerfile links

How to use it

Before you can use any endpoint you have to perform the authorization by using the authorize_account command that will create the /root/.b2_account_info file that will be needed every time you perform actions on B2. This docker image can do that for you, plus refresh the authorization token every time that the authorization fails if you just define the B2_APPLICATION_KEY_ID and B2_APPLICATION_KEY environment variables.

So you can use B2 just by passing the B2_APPLICATION_KEY_ID and B2_APPLICATION_KEY environment variables to the docker run command, eg:

docker run --rm -v $PWD:/root \
    -e B2_APPLICATION_KEY_ID=your-account-id \
    -e B2_APPLICATION_KEY=your-application-key \
    sierra1011/backblaze-b2 list_buckets

You can see all the available commands by running:

docker run --rm sierra1011/backblaze-b2

Build and update process

This image is automatically built on new releases of the Backblaze CLI tool.

About

Docker image for the official Backblaze B2 command line tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 76.6%
  • Dockerfile 23.4%