Sign inSign up

77cla77/megacmd

By 77cla77

•Updated almost 6 years ago

MegaCMD but in docker https://github.com/meganz/MEGAcmd

Image
0

936

77cla77/megacmd repository overview

⁠What is this?

  • This is MegaCMD, just inside a Docker container
  • It's useful for if you want to log into an account and quickly push some files to it

⁠How do I run it interactively?

  • To run interactively and destroy the container once you close out

docker run --rm -it --name megacmd -v /path/to/data:/data 77cla77/megacmd

⁠How do I run it in a Docker Compose file?

version: '2'

services:
  megacmd:
    container_name: megacmd
    image: 77cla77/megacmd
    restart: always
    volumes:
      - /path/to/data:/data

⁠Dockerfile

FROM ubuntu:20.04

RUN apt update \
&& apt upgrade -y \
&& apt install curl -y \
&& curl https://mega.nz/linux/MEGAsync/xUbuntu_20.04/amd64/megacmd_1.4.0-5.1_amd64.deb --output /tmp/megacmd.deb \
&& apt install /tmp/megacmd.deb -y \
&& rm -rf /tmp/mega*

ENTRYPOINT ["/usr/bin/mega-cmd"]

Tag summary

Content type

Image

Digest

Size

68.8 MB

Last updated

almost 6 years ago

docker pull 77cla77/megacmd