HUB
Sign inSign up

cdrage/seafile-client

By cdrage

•Updated almost 7 years ago

Seafile Client

Image
0

1.1K

cdrage/seafile-client repository overview

Description:

Source: https://bitbucket.org/xcgd-team/seafile-client⁠

After a lot of frustation, I've taken the solution from: https://bitbucket.org/xcgd-team/seafile-client⁠ and fiddled around with it for my needs.

Running:

mkdir ~/seafile

docker run \
-d \
--name seafile-client \
-v ~/seafile:/data \
--restart=always \
cdrage/seafile-client

The seaf-cli is accessible via:

docker exec seafile-client /usr/bin/seaf-cli

In order to "add" a folder, you must sync it via the "sync" command line action

# change "foobar" to your folder
# mkdir must be created first in order to create proper permissions
# Due to issues with python + passing in a password, you must
# exec into the container to add your initial folder.
mkdir -p ~/seafile/foobar
docker exec -it seafile-client bash
/usr/bin/seaf-cli sync -l YOUR_LIBRARY_ID -s YOUR_SEAFILE_SERVER -d /data/foobar -u YOUR_EMAIL -p YOUR_PASSWORD

To check the status:

docker exec -it seafile-client /usr/bin/seaf-cli status

Tag summary

Content type

Image

Digest

Size

129.1 MB

Last updated

almost 7 years ago

docker pull cdrage/seafile-client