docker volume create bettercap
Only run caplets.update the first time as every time the entire system caplets folder is replaced with the downloaded contents from github, overwriting your changes, such as the credentials, with default values. You can either backup your changes and restore them later in the system folder, or simply copy the changed caplet files in bettercap’s working directory, in which case they’ll be loaded before the ones installed system wide. https://www.bettercap.org/usage/
docker run -it --privileged --net=host \
-v bettercap:/usr/local/share/bettercap \
bettercap/bettercap -eval "caplets.update; ui.update; q"
Default credential user:pass (/usr/local/share/bettercap/caplets/https-ui.cap)
docker run -it --privileged --net=host \
-v bettercap:/usr/local/share/bettercap \
bettercap/bettercap -caplet http-ui