Skip to content

Commit

Permalink
Add r2web information
Browse files Browse the repository at this point in the history
  • Loading branch information
prodrigestivill committed Apr 10, 2024
1 parent b125836 commit b38c87f
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions README-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,48 @@ make -C dist/docker R2PM=radius2

Also, you can select the architecture (amd64 / arm64) to compile the image by using the `ARCH` make variable.

## Run a container as r2web server

By default both images are intended to be used in a interactive terminal.

But both can also be launched directly to use the radare2 web UI.

The do so it can be launched using the following command:
```sh
docker run -p 9090:9090 radare/radare2 r2 -c '=h' -
```

Or the following docker-compose structure:
```yaml
version: "3.8"
services:
radare2:
image: radare/radare2
command: r2 -c '=h' -
network_mode: bridge
ports:
- "9090:9090"
```
Or if debugging functionality is required:
```yaml
version: "3.8"
services:
radare2:
image: radare/radare2
command: r2 -c '=h' -
network_mode: bridge
ports:
- "9090:9090"
privileged: true
cap_add:
- SYS_PTRACE
security_opt:
- "seccomp=unconfined"
- "apparmor=unconfined"
```
## Links
You can read more about the project in the following links:
Expand Down

0 comments on commit b38c87f

Please sign in to comment.