cutter/docker
2018-06-29 21:16:51 +02:00
..
.travis.yml Removed docker.sh and added new docker related files into docker folder (#535) 2018-06-25 11:43:59 +02:00
Dockerfile Docker: Fix error upon running the container, Add Xauth settings, Add feature to load a host binary as read-only (#556) 2018-06-29 21:16:51 +02:00
Makefile Docker: Fix error upon running the container, Add Xauth settings, Add feature to load a host binary as read-only (#556) 2018-06-29 21:16:51 +02:00
README.md Docker: Fix error upon running the container, Add Xauth settings, Add feature to load a host binary as read-only (#556) 2018-06-29 21:16:51 +02:00

Docker Configuration for Cutter

These files provide an easy way to deploy Cutter in a Docker container. After additional configuration you may want to apply to the Makefile, execute make run. By default, the Cutter image on Docker Hub will be used along with additional capability, X and mount settings:

  • Xauthority settings which avoid using potentially insecure xhost directives. The settings have been adapted from this post.
  • Mount directives to mount a shared folder and radare2 configuration files.
  • Capability dropping to only use SYS_PTRACE.

Mounting and Using a Specific Binary

The Makefile allows mounting a single binary file as read-only, which will also be used as an input for Cutter. To use this feature, execute make run BINARY=/absolote/path/to/binary.

Additional Notes

  • The internal container user doesn't use superuser privileges and is called r2.
  • To check for more options of the Makefile, execute make.