grub-install

Install GRUB to a device. More information: <https://www.gnu.org/software/grub/manual/grub/html_node/Installing-GRUB-using-grub_002dinstall.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y grub-pc
Ubuntu
RUN apt-get update && \ apt-get install -y lupin-support
Alpine
RUN apk add grub
Arch Arch Linux
RUN pacman -S --noconfirm grub
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y grub-legacy
Fedora
RUN dnf install -y grub2-common
Raspbian
RUN apt-get update && \ apt-get install -y grub2-common
click the source code to copy install grub-install on any operating system with command-not-found.com