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
docker exec -it mega.1.xxxx mega-login [--auth-code CODE ] $MEGAEMAIL $MEGA_PASS
It is suggested to enablt 2FA for security reasons.
docker exec -it mega.1.xxxx mega-sync /data /remote
Content type
Image
Digest
Size
67 MB
Last updated
over 7 years ago
docker pull newnius/mega