cutter/docker
Itay Cohen 8da70aaf05
Enable CUTTER_USE_BUNDLED_RIZIN by default ()
* Enable CUTTER_USE_BUNDLED_RIZIN by default
2021-03-15 06:47:51 +02:00
..
Dockerfile Enable CUTTER_USE_BUNDLED_RIZIN by default () 2021-03-15 06:47:51 +02:00
entrypoint.sh Change Executable to Lowercase and use re.rizin.cutter everywhere 2021-01-25 22:09:19 +01:00
Makefile docker: fix and simplify build () 2021-01-12 10:41:16 +02:00
README.md docker: fix and simplify build () 2021-01-12 10:41:16 +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 UID, 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 rizin configuration files.
  • The UID and GID of the user executing make run will also be used for the internal container user to avoid permission problems when sharing files.

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=/absolute/path/to/binary.

Additional Notes

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