Because of the issue #623
we need to have a unique UUID at /etc/machine-id. Otherwise, mega-sync will not work.
We have 2 options:
machine-id from the host.docker run -d --name megacmd --restart always \
-v /etc/machine-id:/etc/machine-id:ro \
-v /opt/MEGA/config:/root/.megaCmd \
-v /opt/MEGA/data:/root/MEGA \
ruslanys/megacmd
docker run -d --name megacmd --restart always \
-v /opt/MEGA/config:/root/.megaCmd \
-v /opt/MEGA/data:/root/MEGA \
ruslanys/megacmd
docker exec -it megacmd bash
cat /proc/sys/kernel/random/uuid /etc/machine-id
docker exec -it megacmd mega-login $username $password
docker exec -it megacmd mega-sync /root/MEGA /
Content type
Image
Digest
sha256:b5afd3efb…
Size
98.8 MB
Last updated
over 2 years ago
docker pull ruslanys/megacmd