Sign inSign up

tomzo/megatools-docker

By tomzo

Updated almost 11 years ago

MEGA tools in docker

Image
2

7.8K

tomzo/megatools-docker repository overview

Megatools in docker

Megatools installed on debian image.

Why? Because megatools are available as debian package only in sid. If you are not running on sid, then you are forced to compile yourself.

Usage

This image is meant to be used from CLI.

You will have to provide mega credentials on each docker run. It can be done as arguments in mega* commands.

Or in configuration file ~/.megarc.

[Login]
Username = your@email
Password = yourpassword

If you keep your configuration file in home of the docker host, then any mega command can be run with:

docker run -ti --rm -v=$HOME/.megarc:/.megarc megatools-docker <COMMAND>

To verify that your configuration is working you can run

docker run -ti --rm -v=$HOME/.megarc:/.megarc megatools-docker megadf
Example

Uploading $HOME/myfiles folder using docker volumes and the /bin/megaupload script.

docker run -ti --rm -v=$HOME/.megarc:/.megarc -v=$HOME/myfiles:/upload megatools-docker /bin/megaupload

Tag summary

Content type

Image

Digest

sha256:118ba234c

Size

104.7 MB

Last updated

almost 11 years ago

docker pull tomzo/megatools-docker