I couldn't find any suitable Dockerfile out there for the recent version of BeEF that is actually working.
Moreover I have a personal priority to run app in the container without root privileges. Most developers seem to ignore this somehow.
BeEF's Gemfile has gem therubyracer which depends on libv8 gem precompiled for glibc (Alpine uses muslc). One option is to build libv8 from sources and another is to wait for a solution. I stick with the latter for now.
docker run -it -p 3000:3000 -p 6789:6789 -p 61985:61985 -p 61986:61986 ilyaglow/beef
BeEF will be available at http://localhost:3000/ui/panel
Content type
Image
Digest
Size
261.1 MB
Last updated
about 7 years ago
docker pull defektive/docker-beef