{"id":16542896,"url":"https://github.com/binhex/arch-preclear","last_synced_at":"2025-07-20T15:02:31.275Z","repository":{"id":82321783,"uuid":"203785917","full_name":"binhex/arch-preclear","owner":"binhex","description":"Docker build script for Arch Linux base with Preclear script","archived":false,"fork":false,"pushed_at":"2025-05-01T15:41:50.000Z","size":66,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-01T16:40:24.502Z","etag":null,"topics":["archlinux","docker","preclear","unraid"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binhex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2019-08-22T11:59:34.000Z","updated_at":"2025-05-01T15:41:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0019259-bf0a-4a93-bf8f-0b83cec03d84","html_url":"https://github.com/binhex/arch-preclear","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/binhex/arch-preclear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binhex%2Farch-preclear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binhex%2Farch-preclear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binhex%2Farch-preclear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binhex%2Farch-preclear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binhex","download_url":"https://codeload.github.com/binhex/arch-preclear/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binhex%2Farch-preclear/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266143940,"owners_count":23883067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["archlinux","docker","preclear","unraid"],"created_at":"2024-10-11T18:58:48.240Z","updated_at":"2025-07-20T15:02:31.251Z","avatar_url":"https://github.com/binhex.png","language":"Shell","funding_links":["https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=MM5E27UX6AUU4"],"categories":[],"sub_categories":[],"readme":"**Application**\n\n[Preclear](https://forums.unraid.net/topic/2732-preclear_disksh-a-new-utility-to-burn-in-and-pre-clear-disks-for-quick-add/)\n\n**Description**\n\nA utility to \"burn-in\" a new disk, before adding it to your array has been requested several times.  Also requested is a process to \"pre-clear\" a hard disk before adding it to your array.  When a special \"signature\" is detected, the lengthy \"clearing\" step otherwise performed by unRAID is skipped.\n\nThe Preclear script was created by [Joe L.](https://forums.unraid.net/topic/2732-preclear_disksh-a-new-utility-to-burn-in-and-pre-clear-disks-for-quick-add/) and later modified by [bjp999](https://forums.unraid.net/topic/30921-unofficial-faster-preclear/), all credit goes to both of these authors for the script.\n\n**Build notes**\n\nIMPORTANT - This is Docker image is specifically for unRAID users ONLY - do NOT attempt to use this utility with other operating systems.\n\n**Usage**\n```\ndocker run -d \\\n    -p 5900:5900 \\\n    -p 6080:6080 \\\n    --name=\u003ccontainer name\u003e \\\n    --privileged=true \\\n    -v /boot/config/disk.cfg:/unraid/config/disk.cfg:ro \\\n    -v /boot/config/super.dat:/unraid/config/super.dat:ro \\\n    -v /var/local/emhttp/disks.ini:/unraid/emhttp/disks.ini:ro \\\n    -v /usr/local/sbin/mdcmd:/unraid/mdcmd:ro \\\n    -v /dev/disk/by-id:/unraid/disk/by-id:ro \\\n    -v /boot/config/plugins/dynamix/dynamix.cfg:/unraid/config/plugins/dynamix/dynamix.cfg:ro \\\n    -v /etc/ssmtp/ssmtp.conf:/unraid/ssmtp/ssmtp.conf:ro \\\n    -v \u003cpath for config files\u003e:/config \\\n    -v /etc/localtime:/etc/localtime:ro \\\n    -e WEBPAGE_TITLE=\u003cname shown in browser tab\u003e \\\n    -e VNC_PASSWORD=\u003cpassword for web ui\u003e \\\n    -e ENABLE_STARTUP_SCRIPTS=\u003cyes|no\u003e \\\n    -e UMASK=\u003cumask for created files\u003e \\\n    -e PUID=0 \\\n    -e PGID=0 \\\n    binhex/arch-preclear\n```\n\nPlease replace all user variables in the above command defined by \u003c\u003e with the correct values.\n\n**Example**\n```\ndocker run -d \\\n    -p 5900:5900 \\\n    -p 6080:6080 \\\n    --name=preclear \\\n    --privileged=true \\\n    -v /boot/config/disk.cfg:/unraid/config/disk.cfg:ro \\\n    -v /boot/config/super.dat:/unraid/config/super.dat:ro \\\n    -v /var/local/emhttp/disks.ini:/unraid/emhttp/disks.ini:ro \\\n    -v /usr/local/sbin/mdcmd:/unraid/mdcmd:ro \\\n    -v /dev/disk/by-id:/unraid/disk/by-id:ro \\\n    -v /boot/config/plugins/dynamix/dynamix.cfg:/unraid/config/plugins/dynamix/dynamix.cfg:ro \\\n    -v /etc/ssmtp/ssmtp.conf:/unraid/ssmtp/ssmtp.conf:ro \\\n    -v /apps/docker/preclear:/config \\\n    -v /etc/localtime:/etc/localtime:ro \\\n    -e WEBPAGE_TITLE=Preclear \\\n    -e VNC_PASSWORD=mypassword \\\n    -e ENABLE_STARTUP_SCRIPTS=yes \\\n    -e UMASK=000 \\\n    -e PUID=0 \\\n    -e PGID=0 \\\n    binhex/arch-preclear\n```\n\nIf you do specify a password for the web ui via the env var 'VNC_PASSWORD' then it MUST be 6 characters or longer, otherwise it will be ignored.\n\n**Access via web interface (noVNC)**\n\n`http://\u003chost ip\u003e:\u003chost port\u003e/vnc.html?resize=remote\u0026host=\u003chost ip\u003e\u0026port=\u003chost port\u003e\u0026\u0026autoconnect=1`\n\ne.g.:-\n\n`http://192.168.1.10:6080/vnc.html?resize=remote\u0026host=192.168.1.10\u0026port=6080\u0026\u0026autoconnect=1`\n\n**Access via VNC client**\n\n`\u003chost ip\u003e::\u003chost port\u003e`\n\ne.g.:-\n\n`192.168.1.10::5900`\n\n**Notes**\n\n`ENABLE_STARTUP_SCRIPTS` when set to `yes` will allow a user to install additional packages from the official Arch Repository or the Arch User Repository (AUR) via scripts located in the folder `/config/home/scripts/`. A sample script is located at `/config/home/scripts/example-startup-script.sh` with comments to guide the user on script creation.\n\nUser ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-\n\n```\nid \u003cusername\u003e\n```\n___\nIf you appreciate my work, then please consider buying me a beer  :D\n\n[![PayPal donation](https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=MM5E27UX6AUU4)\n\n[Documentation](https://github.com/binhex/documentation) | [Support forum](https://forums.unraid.net/topic/83465-support-binhex-preclear/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinhex%2Farch-preclear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinhex%2Farch-preclear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinhex%2Farch-preclear/lists"}