Q. What is the default shell used by `RUN` in a Dockerfile?

  • (A) bash
  • (B) zsh
  • (C) /bin/sh -c
  • (D) /bin/bash
πŸ’¬ Discuss
βœ… Correct Answer: (C) /bin/sh -c
Explanation: The default shell for `RUN` is `/bin/sh -c` unless overridden.
Explanation by: Mr. Dubey
The default shell for `RUN` is `/bin/sh -c` unless overridden.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
72
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate