{"id":27854845,"url":"https://github.com/007revad/synology_docker_export","last_synced_at":"2026-02-24T01:35:42.639Z","repository":{"id":265017474,"uuid":"863316276","full_name":"007revad/Synology_Docker_Export","owner":"007revad","description":"Export Synology Container Manager or Docker containers' settings as json files","archived":false,"fork":false,"pushed_at":"2025-12-18T10:14:39.000Z","size":363,"stargazers_count":40,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-22T03:50:08.029Z","etag":null,"topics":["container-manager","docker-compose","synology","synology-docker"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/007revad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.txt","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"007revad","buy_me_a_coffee":"007revad","custom":["https://www.paypal.me/007revad"]}},"created_at":"2024-09-26T05:03:37.000Z","updated_at":"2026-01-21T06:52:04.000Z","dependencies_parsed_at":"2025-04-14T07:33:24.605Z","dependency_job_id":"1ed0dc92-d492-4679-92d6-c4769f792a6e","html_url":"https://github.com/007revad/Synology_Docker_Export","commit_stats":null,"previous_names":["007revad/synology_docker_export"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/007revad/Synology_Docker_Export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_Docker_Export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_Docker_Export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_Docker_Export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_Docker_Export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/007revad","download_url":"https://codeload.github.com/007revad/Synology_Docker_Export/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/007revad%2FSynology_Docker_Export/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29766923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T01:28:30.166Z","status":"ssl_error","status_checked_at":"2026-02-24T01:28:27.518Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container-manager","docker-compose","synology","synology-docker"],"created_at":"2025-05-04T09:58:59.060Z","updated_at":"2026-02-24T01:35:42.633Z","avatar_url":"https://github.com/007revad.png","language":"Shell","funding_links":["https://github.com/sponsors/007revad","https://buymeacoffee.com/007revad","https://www.paypal.me/007revad","https://www.paypal.com/paypalme/007revad"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"images/icon.png\" width=\"40\"\u003e Synology Docker Export\n\n\u003ca href=\"https://github.com/007revad/Synology_Docker_Export/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/007revad/Synology_Docker_Export.svg\"\u003e\u003c/a\u003e\n![Badge](https://hitscounter.dev/api/hit?url=https%3A%2F%2Fgithub.com%2F007revad%2FSynology_Docker_Export\u0026label=Visitors\u0026icon=github\u0026color=%23198754\u0026message=\u0026style=flat\u0026tz=Australia%2FSydney)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/paypalme/007revad)\n[![](https://img.shields.io/static/v1?label=Sponsor\u0026message=%E2%9D%A4\u0026logo=GitHub\u0026color=%23fe8e86)](https://github.com/sponsors/007revad)\n\u003c!-- [![committers.top badge](https://user-badge.committers.top/australia/007revad.svg)](https://user-badge.committers.top/australia/007revad) --\u003e\n\n### Description\n\nExport all Synology Container Manager or Docker containers' settings as json files to your docker shared folder\n\n- Works with DSM 7's Container Manager and DSM 6's Docker.\n- Exports settings for running and stopped containers.\n- Optionally specify containers to ignore.\n- Optionally set age of old exports to delete.\n\nThe exported json files can later be [imported in Synology's Container Manager ui or Docker ui](#importing).\n\nThe advantage of the exported json files is they are truly portable as each container's mapped volumes are **not** hard coded to a specific volume. DSM knows what volume each shared folder is located on.\n\n### Download the script\n\n1. Download the latest version _Source code (zip)_ from https://github.com/007revad/Synology_Docker_Export/releases\n2. Save the download zip file to a folder on the Synology.\n3. Unzip the zip file.\n\n### Options\n\nThere are 2 options you can set in the script:\n```\n# Delete json exports older than X days\nDeleteOlder=7\n\n# Specify containers to ignore if you don't want to export their settings\n# For example:\n# IgnoredContainers=(jitsi_jicofo jitsi_jvb jitsi_prosody jitsi_web synology_docviewer_2)\nIgnoredContainers=\n```\n\n### To run the script via task scheduler\n\nSee [How to run from task scheduler](https://github.com/007revad/Synology_Docker_Export/blob/main/how_to_run_from_scheduler.md)\n\n### To run the script via SSH\n\n[How to enable SSH and login to DSM via SSH](https://kb.synology.com/en-global/DSM/tutorial/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet)\n\n```YAML\nsudo -s /volume1/scripts/syno_docker_export.sh\n```\n\n**Note:** Replace /volume1/scripts/ with the path to where the script is located.\n\n### Troubleshooting\n\nIf the script won't run check the following:\n\n1. Make sure you download the zip file and unzipped it to a folder on your Synology (not on your computer).\n2. If the path to the script contains any spaces you need to enclose the path/scriptname in double quotes:\n   ```YAML\n   sudo -s \"/volume1/my scripts/syno_docker_export.sh\"\n   ```\n3. Make sure you unpacked the zip or rar file that you downloaded and are trying to run the syno_docker_export.sh file.\n4. Set the script file as executable:\n   ```YAML\n   sudo chmod +x \"/volume1/scripts/syno_docker_export.sh\"\n   ```\n\n### Screenshots\n\n\u003c!--- \u003cp align=\"center\"\u003eDescription of image 1 goes here\u003c/p\u003e ---\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/script.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003ev1.0.4 Deleting old exports\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/v104.png\"\u003e\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003c!--- \u003cp align=\"center\"\u003eDescription of image 2 goes here\u003c/p\u003e ---\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/exports.png\"\u003e\u003c/p\u003e\n\n### Importing\n\nImporting the exported json files in Synology's Container Manager ui or Docker ui\n\n\u003c!--- \u003cp align=\"center\"\u003eDescription of image 1 goes here\u003c/p\u003e /\u003e ---\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/import-1.png\"\u003e\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003c!--- \u003cp align=\"center\"\u003eDescription of image 2 goes here\u003c/p\u003e ---\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/import-2.png\"\u003e\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003c!--- \u003cp align=\"center\"\u003eDescription of image 2 goes here\u003c/p\u003e ---\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"/images/import-3.png\"\u003e\u003c/p\u003e\n\n \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; [Back to Description](#description)\n\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F007revad%2Fsynology_docker_export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F007revad%2Fsynology_docker_export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F007revad%2Fsynology_docker_export/lists"}