Giter Site home page Giter Site logo

dockerfile-crashplan's Introduction

CrashPlan via Docker container

Componenets

  • Ubuntu 16.04
  • s6-overlay v1.19.1.1
  • tigervnc v1.7.1
  • novnc 558544364cf0d1f91d18b3a5768db8c8292f7ff6
  • jre v1.8.0_72
  • CrashPlan v4.8.2

Features

  • Usage of novnc is optional
  • Xvnc server and CrashPlan GUI launch when connecting (reduces resource consumption)

Setup

Manual

$ docker run -d \
    --name="crashplan-${NAME}" \
    --restart=unless-stopped \
    -e NOVNC=true \
    -p 5900:5900 \
    -p 6080:6080 \
    -v /media:/media \
    -v /:/rootfs \
    trapexit/crashplan:1.3.1

Remove -e NOVNC=true and -p 6080:6080 if you don't wish to use novnc.

Script

#!/bin/bash

NAME="${1}"
COUNT=$(docker ps -qa --filter "label=app=crashplan" | wc -l)
VNC_PORT=$((5900 + COUNT))
NOVNC_PORT=$((6080 + COUNT))

docker run -d \
    --name="crashplan-${NAME}" \
    --restart=unless-stopped \
    --label=app=crashplan \
    --label="backup=${NAME}" \
    -e NOVNC=true \
    -p ${VNC_PORT}:5900 \
    -p ${NOVNC_PORT}:6080 \
    -v /media:/media \
    -v /:/rootfs \
    trapexit/crashplan:1.3.1

Usage

VNC (directly)

  • Using whichever VNC client you prefer connect to the VNC_PORT

NOVNC (VNC via web)

  • Make sure -e NOVNC=true is included when creating the container.
  • goto http://<your-host-ip>:${NOVNC_PORT}/vnc.html?autoconnect=true&resize=scale

dockerfile-crashplan's People

Contributors

trapexit avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.