You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If you use Avahi, open **Finder**, go to **Shared** and connect to your server with your new username and password. Alternatively, or if you don't use Avahi, from **Finder** press **CMD-K** and type `afp://your-server-name`.
55
+
56
+
* Go to **System Preferences**, and open **Time Machine** settings.
57
+
58
+
* Open **Add or Remove Backup Disk...**
59
+
60
+
* Select your new volume.
61
+
62
+
63
+
In the example below, the Docker instance is running on server `central`. For `USERNAME` the account `Backup` along with a `PASSWORD`. Once connected, the account `Backup` is available in Time Machine settings.
64
+
65
+

66
+
67
+
68
+
## Advanced Usage
69
+
24
70
### Configure using environment variables
25
71
26
72
You can configure the container using environment variables (for example, if you use a `docker-compose` environment).
@@ -34,24 +80,16 @@ There are these environment variables:
34
80
35
81
Using these variables, the container will create a user at boot time (only one per container).
36
82
37
-
## Auto-discovering
38
83
39
-
Avahi daemon is commonly used to help your computers to find the services provided by a server.
84
+
## FAQ
40
85
41
-
Avahi isn't built into this Docker image because, due to Docker's networking limitations, Avahi can't spread it's messages to announce the services.
42
-
43
-
**If you want to enable this feature, you can install Avahi daemon on your host** following these steps (Ubuntu version):
86
+
#### I don't find the service in Time Machine.
44
87
45
-
* Install `avahi-daemon`: run `sudo apt-get install avahi-daemon avahi-utils`
46
-
* Copy the file from `avahi/nsswitch.conf` to `/etc/nsswitch.conf`
47
-
* Copy the service description file from `avahi/afpd.service` to `/etc/avahi/services/afpd.service`
**But why install this on your host and not in the container?** Because if you don't do it this way, the discovery message won't be able to reach your computers.
89
+
#### Why do I need to install Avahi on your host and not in the container?
90
+
Because if you don't do it this way, the discovery message won't be able to reach your computers.
51
91
52
-
## Auto start the service
53
92
54
-
As the image has been started using the `--restart=always` flag, it will start when the computers boots up.
0 commit comments