Skip to content

sergio-fry/cloud-mail-ru-docker

Repository files navigation

Cloud Mail.ru in a Docker

Docker Build Status Docker Pulls

With this image you can mount cloud.mail.ru as a FUSE path. MARC-FS is used under the hood. Without GUI login, VNC and so on.

Configure CI to upload builds or write backup scripts with cloud.mail.ru storage.

Ho To Use

  1. Set MAILRU_LOGIN, MAILRU_PASSWORD credentials as env variables
  2. Start container with local path mounted as volume in a privileged mode
  3. Copy files in both directions

Configuration

ENV Default Description
MAILRU_LOGIN login, e.g. '[email protected]'
MAILRU_PASSWORD password
MAILRU_AUTOMOUNT true Mount clound on container start

Example

$ echo "Hello Mail.ru" > hello.txt
$ docker run -v "$PWD":/local_drive -e [email protected] -e MAILRU_PASSWORD=secret123 --rm --privileged udalov/cloud-mail-ru-docker:0.1.1 cp /local_drive/hello.txt /tmp/mailru/hello.txt

Demo

asciicast

Why?

There some other projects doing pretty the same:

So why do we need another one? The key feature of cloud-mail-ru-docker is ability to avoid GUI authentication at all. It is important when using CI to deliver builds, e.g..

About

Mount cloud.mail.ru as local path without GUI on Linux

Resources

Stars

Watchers

Forks

Packages

No packages published