Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Dockerfile
README.md

README.md

Deploy MEGA.nz in docker

Start

docker service create \
	--name mega \
	--hostname mega \
	--replicas 1 \
	--detach=true \
	--mount type=bind,src=/etc/localtime,dst=/etc/localtime,readonly \
	--mount type=bind,src=/data,dst=/data/,readonly \
	--mount type=bind,src=/home/mega/.megaCmd/,dst=/root/.megaCmd/ \
	newnius/mega

Login

docker exec -it mega.1.xxxx mega-login [--auth-code CODE ] $MEGAEMAIL $MEGA_PASS

It is suggested to enablt 2FA for security reasons.

Sync

docker exec -it mega.1.xxxx mega-sync /data /remote

Reference

Installation in Debian 9 fails at the post-install script

MEGAcmd

You can’t perform that action at this time.