The SHELL instruction allows us to override the default shell, that is, sh on Linux and cmd on Windows.
The syntax of the SHELL instruction is as follows:
SHELL ["<shell>", "<arg-1>", ..., "<arg-n>"]
Here, the code terms mean the following:
- <shell>: The shell to be used during container runtime
- <arg-1>, ..., <arg-n>: These are the variable numbers (zero or more) of the arguments for the shell