- Start the megacmd server
docker run \ -d \ --name megacmd \ --restart always \ -v <folder_to_save_config>:/home/d_user \ -v <folder_to_sync_outside>:<folder_to_sync_inside> \ -e PUID=<exec_user_id> \ -e PGID=<exec_group_id> \ melsonlai/docker-megacmd:<tag>
- Exec into the container to config the server
docker exec -it megacmd su - d_user ~$ mega-login <account-email> <password> ~$ mega-sync <localpath> <dstremotepath>
amd64
: amd64 arch based onubuntu:18.04
arm
: arm arch based onbalenalib/rpi-debian:stretch-run