Code Monkey home page Code Monkey logo

docker-time-machine's Introduction

Zero Configuration. Time machine for MacOS

Thank you Tim🍏, very cool.

Show me

Docker Pulls

docker run --net=host -v /my_folder/:/share msjpq/time-machine
  • User: dog
  • Password : dog

Why? Because I like dogs.

Fancy

Environmental Variables Description
SMB_NAME='Time Machine' what you see from 💻
SMB_USER=dog your login
SMB_PASSWORD=dog your password
PGID=0 user gid (advanced)
PUID=0 user uid (advanced)

Docker Compose

---
version: "3.7"

services:
  time_machine:
    image: msjpq/time-machine
    container_name: time-machine
    restart: unless-stopped
    network_mode: host
    volumes:
      - ./:/share

Very important

Say hi to my dog!

my dog

docker-time-machine's People

Contributors

ms-jpq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-time-machine's Issues

Not use host networking

Hi!
I've just seen your repo and the reddit post, and it is incredible! But could it be possible, to use bridge networking instead of host?
Barnabás.

allow setting `max disk size` samba option

Please consider adding an environment variable for setting the max disk size smb.conf option. This allows one to specify a smaller than actual size to be reported to Time Machine. Thanks!

agp-bot

You should disable this "agp-bot" thing, it's destroying your commit history

Timemachine can not always find the disk

I am seeing this in the docker container logs:

Leaving mDNS multicast group on interface enp3s0.IPv6 with address xxx.
Joining mDNS multicast group on interface enp3s0.IPv6 with address xxx.
Withdrawing address record for yyy on enp3s0.
Registering new address record for yyy on enp3s0.*.

Do you have an idea what causes it?

Time Machine restarting constantly

When i first run the docker, i get these logs:

time-machine  | Invalid option --log-stdout: unknown option
time-machine  | 
time-machine  | Usage: smbd [-?bDiFV] [-?|--help] [--usage] [-b|--build-options]
time-machine  |         [-p|--port=STRING] [-P|--profiling-level=PROFILE_LEVEL]
time-machine  |         [-d|--debuglevel=DEBUGLEVEL] [--debug-stdout]
time-machine  |         [-s|--configfile=CONFIGFILE] [--option=name=value]
time-machine  |         [-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
time-machine  |         [-D|--daemon] [-i|--interactive] [-F|--foreground]
time-machine  |         [--no-process-group] [-V|--version]

And when i run it a second time, I get these logs:

time-machine  | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
time-machine  | [s6-init] ensuring user provided files have correct perms...exited 0.
time-machine  | [fix-attrs.d] applying ownership & permissions fixes...
time-machine  | [fix-attrs.d] done.
time-machine  | [cont-init.d] executing container initialization scripts...
time-machine  | [cont-init.d] 00-envsubst.sh: executing... 
time-machine  | [cont-init.d] 00-envsubst.sh: exited 0.
time-machine  | [cont-init.d] 00-smb.sh: executing... 
time-machine  | groupadd: group 'time-machine-users' already exists
time-machine  | [cont-init.d] 00-smb.sh: exited 9.
time-machine  | [cont-finish.d] executing container finish scripts...
time-machine  | [cont-finish.d] done.
time-machine  | [s6-finish] waiting for services.
time-machine  | [s6-finish] sending all processes the TERM signal.
time-machine  | [s6-finish] sending all processes the KILL signal and exiting.
time-machine exited with code 1

Any idea why the docker is constantly restarting?

Can't connect

Set up via the docker compose script.
Error: com.apple.TimeMachine.Settings-Extension-Error5

  samba:
    image: dockurr/samba
    container_name: samba
    environment:
      USER: pi
      PASS: schulleder6
    ports:
      - 445:445
    volumes:
      - ./samba:/storage
    restart: on-failure 

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.