mirror of
https://github.com/radareorg/radare2-snap.git
synced 2026-11-07 06:36:00 -10:00
ddb3a7c41f3046649a8ed4ae3b6bcd501f20b135
Radare2 snap and docker repository
This repository contains the recipie to build the snap version of radare2 using docker as well to build a standalone docker image with the same build.
The resulting build includes the following projects:
Install the snap
Radare requires snap classic confinement, to install run:
sudo snap install radare2 --classic
Once installed all radare commands are available as:
radare2.<command> (ex: radare2.rasm2).
Use the docker image
As explained, with the same snap build a docker image is generated.
To use the docker image you can use either:
docker run -ti radare/radare2
podman run -ti docker.io/radare/radare2
nerdctl run -ti radare/radare2
To use the docker image as one shot so it removes everything inside the container on exit just add --rm as follows:
docker run --rm -ti radare/radare2
Another example to use for debugging inside the docker:
docker run --tty --interactive --privileged --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined radare/radare2
Languages
Dockerfile
47.6%
Makefile
46.9%
Shell
5.5%