Skip to main content

An Effective Seafile Dockerfile for Raspberry Pi to Make Docker YAML Files for Treehouses

  • Conference paper
  • First Online:
Smart Computing and Communication (SmartCom 2020)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12608))

Included in the following conference series:

  • 551 Accesses

Abstract

Seafile is an open-source, cross-platform, self-hosting file share/sync application. It is installed and configured Seafile via Treehouses, which provides useful functions that host web services on the Tor network. There is no maintainable Docker container of Seafile for the wide range of Raspberry Pis, including RPI0, 3, and 4. Therefore, a custom Seafile Docker container had to be made for the wide range of Raspberry Pis allowing users to install and configure Seafile through Treehouses command. Since the Seafile Dockerfile is old, there were several issues that needed to be resolved for the newer Seafile to work in the Docker container. This paper will explain the process of revising the old Dockerfile and making the YAML file for the Seafile container. The almost all issues pertaining to the revision of the Seafile Dockerfile occurred because the old Dockerfile and configuration script cannot deal with the dependencies and configuration settings of the newer version of Seafile. When the YAML file was made for Treehouses, it required a few of tweaking the Seafile configuration to make the file exchange function work. In addition, the analyze of the troubleshooting during the project suggested that the most crucial technique to revise an old Dockerfile is to be aware of the version of the software.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Yang, Y., Xiong, N., Chong, N.Y., Défago, X.: A decentralized and adaptive flocking algorithm for autonomous mobile robots. In: 2008 3rd International Conference on Grid and Pervasive Computing - Workshops, Kunming, pp. 262–268 (2008)

    Google Scholar 

  2. Li, J., Xiong, N., Park, J.H., Liu, C., Shihua, M.A., Cho, S.E.: Intelligent model design of cluster supply chain with horizontal cooperation. J. Intell. Manuf. 23(4), 917–931 (2012)

    Article  Google Scholar 

  3. Wan, Z., Xiong, N., Ghani, N., Vasilakos, A.V., Zhou, L.: Adaptive unequal protection for wireless video transmission over IEEE 802.11 e networks. Multimedia Tools Appl. 72(1), 541–571 (2014)

    Article  Google Scholar 

  4. Shu, L., Zhang, Y., Yu, Z., Yang, L.T., Hauswirth, M., Xiong, N.: Context-aware cross-layer optimized video streaming in wireless multimedia sensor networks. J. Supercomput. 54(1), 94–121 (2010)

    Article  Google Scholar 

  5. Zeng, Y., Sreenan, C.J., Xiong, N., Yang, L.T., Park, J.H.: Connectivity and coverage maintenance in wireless sensor networks. J. Supercomput. 52(1), 23–46 (2010)

    Article  Google Scholar 

  6. Long, F., Xiong, N., Vasilakos, A.V., Yang, L.T., Sun, F.: A sustainable heuristic QoS routing algorithm for pervasive multi-layered satellite wireless networks. Wirel. Netw. 16(6), 1657–1673 (2010)

    Article  Google Scholar 

  7. Lin, C., Xiong, N., Park, J.H., Kim, T.: Dynamic power management in new architecture of wireless sensor networks. Int. J. Commun. Syst. 22(6), 671–693 (2009)

    Article  Google Scholar 

  8. Guo, W., Xiong, N., Vasilakos, A.V., Chen, G., Yu, C.: Distributed k–connected fault–tolerant topology control algorithms with PSO in future autonomic sensor systems. Int. J. Sens. Netw. 12(1), 53–62 (2012)

    Article  Google Scholar 

  9. Lin, C., He, Y., Xiong, N.: An energy-efficient dynamic power management in wireless sensor networks. In: 2006 5th International Symposium on Parallel and Distributed Computing, Timisoara, pp. 148–154 (2006)

    Google Scholar 

  10. Zhou, Y., Zhang, D., Xiong, N.: Post-cloud computing paradigms: a survey and comparison. Tsinghua Sci. Technol. 22(6), 714–732 (2017)

    Article  Google Scholar 

  11. Liu, Y., Ma, M., Liu, X., Xiong, N.N., Liu, A., Zhu, Y.: Design and analysis of probing route to defense sink-hole attacks for internet of things security. IEEE Trans. Netw. Sci. Eng. 7(1), 356–372 (2020)

    Article  Google Scholar 

  12. Shahzad, A., et al.: Real time MODBUS transmissions and cryptography security designs and enhancements of protocol sensitive information. Symmetry 7(3), 1176–1210 (2015)

    Article  MathSciNet  Google Scholar 

  13. Sang, Y., Shen, H., Tan, Y., Xiong, N.: Efficient protocols for privacy preserving matching against distributed datasets. In: International Conference on Information and Communications Security, pp. 210–227 (2006)

    Google Scholar 

  14. Yang, J., et al.: A fingerprint recognition scheme based on assembling invariant moments for cloud computing communications. IEEE Syst. J. 5(4), 574–583 (2011)

    Article  Google Scholar 

  15. Wang, Z., Li, T., Xiong, N., Pan, Y.: A novel dynamic network data replication scheme based on historical access record and proactive deletion. J. Supercomput. 62(1), 227–250 (2012)

    Article  Google Scholar 

  16. Welcome to treehouses. treehouses.github.io. https://awesomeopensource.com/project/treehouses/treehouses.githubiio. Accessed 15 Apr 2020

  17. Open Source File Sync and Share Software. Seafile. https://www.seafile.com/en/home/. Accessed 15 Apr 2020

  18. Seafile Ltd., Components Overview. Private Seafile. https://download.seafile.com/published/seafile-manual/overview/components.md. Accessed 15 Apr 2020

  19. Haiwen: haiwen/seafile. GitHub, 1 April 2020. https://github.com/haiwen/seafile. Accessed 15 Apr 2020

  20. Dominik, M.: domenukk/seafile-docker-pi. GitHub. https://github.com/domenukk/seafile-docker-pi. Accessed 15 Apr 2020

  21. Murray, B.: RaspberryPi. Ubuntu Wiki, 13 March 2020. https://wiki.ubuntu.com/ARM/RaspberryPi. Accessed 29 April 2020

  22. Legacy resin base images. Balena Documentation. https://www.balena.io/docs/reference/base-images/legacy-base-images/. Accessed 29 Apr 2020

  23. Yuri Teixeira: yuriteixeira/rpi-seafile. GitHub. https://github.com/yuriteixeira/rpi-seafile. Accessed 15 Apr 2020

  24. treehouses: treehouses/cli. GitHub https://github.com/treehouses/cli. Accessed 19 Apr 2020

  25. Hypriot: hypriot/rpi-python. GitHub, 22 December 2015. https://github.com/hypriot/rpi-python. Accessed 15 Apr 2020

  26. Index of /raspbian/dists/. https://archive.raspbian.org./raspbian/dists/. Accessed 19 Apr 2020

  27. treehouses: treehouses/rpi-python. Docker Hub. https://hub.docker.com/r/treehouses/rpi-python. Accessed 19 Apr 2020

  28. jobenvil, Sikorra, J.P.: seafile.sh illegal instruction in 7.0.3, Issue #41. · haiwen/seafile-rpi. GitHub. https://github.com/haiwen/seafile-rpi/issues/41. Accessed 15 Apr 2020

  29. Hypriot. hypriot/rpi-python. GitHub. https://github.com/hypriot/rpi-python/blob/master/Dockerfile

  30. Seafile Ltd.: Deploying Seafile with SQLite. Private Seafile. https://download.seafile.com/published/seafile-manual/deploy/using_sqlite.md. Accessed 15 Apr 2020

  31. Steve, Pan, D.: Seafile server 7.0 bind address issues. Seafile Community Forum, 13 June 2019. https://forum.seafile.com/t/seafile-server-7-0-bind-address-issues/9127. Accessed 15 Apr 2020

  32. Vmajor and jobenvil: Seafile 7 only listens to 127.0.0.1, Seafile Community Forum, 5 August 2019. https://forum.seafile.com/t/seafile-7-only-listens-to-127-0-0-1/9544/7. Accessed 15 Apr 2020

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Terauchi, H., Xiong, N. (2021). An Effective Seafile Dockerfile for Raspberry Pi to Make Docker YAML Files for Treehouses. In: Qiu, M. (eds) Smart Computing and Communication. SmartCom 2020. Lecture Notes in Computer Science(), vol 12608. Springer, Cham. https://doi.org/10.1007/978-3-030-74717-6_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-74717-6_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-74716-9

  • Online ISBN: 978-3-030-74717-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics