{"id":28900298,"url":"https://github.com/radareorg/radare2-snap","last_synced_at":"2025-06-21T09:40:13.457Z","repository":{"id":90469117,"uuid":"605268338","full_name":"radareorg/radare2-snap","owner":"radareorg","description":"Radare2 snap and docker repository","archived":false,"fork":false,"pushed_at":"2025-05-27T13:05:06.000Z","size":156,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-11T11:35:53.357Z","etag":null,"topics":["binary-analysis","comandline","docker","forensics","malware-analysis","radare2","reverse-engineering","security","snapcraft"],"latest_commit_sha":null,"homepage":"https://www.radare.org/","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radareorg.png","metadata":{"files":{"readme":"README-containers.md","changelog":null,"contributing":null,"funding":null,"license":null,"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},"funding":{"github":null,"patreon":null,"open_collective":"radareorg","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-02-22T20:02:35.000Z","updated_at":"2025-05-27T13:05:10.000Z","dependencies_parsed_at":"2025-06-02T14:35:03.121Z","dependency_job_id":"860982b9-610d-41c6-acf8-49ccc09b98ba","html_url":"https://github.com/radareorg/radare2-snap","commit_stats":{"total_commits":177,"total_committers":3,"mean_commits":59.0,"dds":0.096045197740113,"last_synced_commit":"1c92ce9345f059afaa9bc92181aa734bca03605c"},"previous_names":["prodrigestivill/radare2-snap"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/radareorg/radare2-snap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radareorg%2Fradare2-snap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radareorg%2Fradare2-snap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radareorg%2Fradare2-snap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radareorg%2Fradare2-snap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radareorg","download_url":"https://codeload.github.com/radareorg/radare2-snap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radareorg%2Fradare2-snap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260909363,"owners_count":23081042,"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":["binary-analysis","comandline","docker","forensics","malware-analysis","radare2","reverse-engineering","security","snapcraft"],"created_at":"2025-06-21T09:39:43.134Z","updated_at":"2025-06-21T09:40:13.434Z","avatar_url":"https://github.com/radareorg.png","language":"Makefile","funding_links":["https://opencollective.com/radareorg"],"categories":[],"sub_categories":[],"readme":"# radare2 docker image\n\nRadare2 (also known as r2) is a complete framework for reverse-engineering\nand analyzing binaries; composed of a set of small utilities that can be used\ntogether or independently from the command line. Built around a disassembler\nfor computer software which generates assembly language source code from\nmachine-executable code, it supports a variety of executable formats for\ndifferent processors and operating systems. Apart from the static analysis\nfeature it also supports debugging and emulation. The architecture of the\nframework is modular and allows to use existing or create new plugins for new\nfile formats, architectures, analysis features.\n\n## Official stable version\n\nThis registry image is for the stable version is based on **Ubuntu** and the [radare2 snap](https://snapcraft.io/radare2) build.\nThe Dockerfile used to build it can be found in [this dedicated repository](https://github.com/radareorg/radare2-snap).\nAny issue found in this packaging can be opened [there](https://github.com/radareorg/radare2-snap/issues).\n\nThe resulting build includes the following projects:\n\n* [radare2](https://github.com/radareorg/radare2)\n* [r2ghidra](https://github.com/radareorg/r2ghidra)\n* [r2frida](https://github.com/nowsecure/r2frida) (only in supported platforms)\n* [r2dec](https://github.com/wargio/r2dec-js)\n* [r2yara](https://github.com/radareorg/r2yara)\n* [r2ai](https://github.com/radareorg/r2ai)\n* [r2pipe](https://pypi.org/project/r2pipe/) (for Python)\n* [r2book](https://github.com/radareorg/radare2-book) (as info page)\n\n### Run\n\nTo use this docker image you can use either:\n\n```sh\ndocker run -ti radare/radare2\npodman run -ti docker.io/radare/radare2\nnerdctl run -ti radare/radare2\n```\n\nTo use the docker image as one shot so it removes everything inside the container on exit just add `--rm` as follows:\n\n```sh\ndocker run --rm -ti radare/radare2\n```\n\nAnother example to use for debugging inside the docker:\n\n```sh\ndocker run --tty --interactive --privileged --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined radare/radare2\n```\n\nAlso there is the option to open the [r2book](https://book.rada.re/) inside the container:\n\n```sh\ninfo r2book\n```\n\n### Verify\n\nThe image can be verified that has been generated by GitHub Actions by runing the following command:\n\n```sh\ncosign verify docker.io/radare/radare2 --experimental-oci11=true --certificate-oidc-issuer=https://token.actions.githubusercontent.com --certificate-identity-regexp='https://github\\.com/radareorg/radare2-snap/.*@refs/heads/main'\n```\n\n## GIT version (r2docker)\n\nAlternatively there is a version with radare2 GIT aimed to be build locally.\n\nThis will build an image using **Debian** with radare2 from git with latest changes.\nThe Dockerfile to build can be found inside the `dist/docker` directory in the [radare2](https://github.com/radareorg/radare2) source tree.\n\n### Build from GIT\n\nTo build this other image run the following lines:\n\n```sh\ngit clone https://github.com/radareorg/radare2.git\ncd radare2\nmake -C dist/docker\n```\n\nThis will build an image with the following plugins:\n\n* [r2ghidra](https://github.com/radareorg/r2ghidra)\n* [r2frida](https://github.com/nowsecure/r2frida)\n* [r2dec](https://github.com/wargio/r2dec-js)\n\nIt is possible to specify more packages using the `R2PM` make variable:\n\n```sh\nmake -C dist/docker R2PM=radius2\n```\n\nAlso, you can select the architecture (amd64 / arm64) to compile the image by using the `ARCH` make variable.\n\n## Run a container as r2web server\n\nBy default both images are intended to be used in a interactive terminal.\n\nBut both can also be launched directly to use the radare2 web UI.\n\nThe do so it can be launched using the following command:\n\n```sh\ndocker run -p 9090:9090 radare/radare2 r2 -c '=h' -\n```\n\nOr the following docker-compose structure:\n\n```yaml\nversion: \"3.8\"\nservices:\n  radare2:\n    image: radare/radare2\n    command: r2 -c '=h' -\n    network_mode: bridge\n    ports:\n      - \"9090:9090\"\n```\n\nOr if debugging functionality is required:\n\n```yaml\nversion: \"3.8\"\nservices:\n  radare2:\n    image: radare/radare2\n    command: r2 -c '=h' -\n    network_mode: bridge\n    ports:\n      - \"9090:9090\"\n    privileged: true\n    cap_add:\n      - SYS_PTRACE\n    security_opt:\n      - \"seccomp=unconfined\"\n      - \"apparmor=unconfined\"\n```\n\n## Links\n\nYou can read more about the project in the following links:\n\n* \u003chttps://www.radare.org\u003e\n* \u003chttps://github.com/radareorg/radare2\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradareorg%2Fradare2-snap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradareorg%2Fradare2-snap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradareorg%2Fradare2-snap/lists"}