人気の面接質問と回答・オンラインテスト
面接対策、オンラインテスト、チュートリアル、ライブ練習のための学習プラットフォーム

集中型学習パス、模擬テスト、面接向けコンテンツでスキルを伸ばしましょう。

WithoutBook は、分野別の面接質問、オンライン練習テスト、チュートリアル、比較ガイドをひとつのレスポンシブな学習空間にまとめています。

面接準備

Docker 面接の質問と回答

質問 21. What is the purpose of the HEALTHCHECK instruction in a Dockerfile?

The HEALTHCHECK instruction adds a health check to a Docker image. It allows you to define a command to check the health of a running container and provide feedback to Docker.

Example:

HEALTHCHECK --interval=5m --timeout=3s CMD curl -f http://localhost/ || exit 1

役に立ちましたか? コメントを追加 コメントを見る
 

質問 22. How do you pass environment variables to a Docker container?

Environment variables can be passed to a Docker container using the `-e` or `--env` option with the `docker run` command.

Example:

docker run -e MY_VARIABLE=value my_image

役に立ちましたか? コメントを追加 コメントを見る
 

質問 23. Explain the concept of Docker Overlay Network.

Docker Overlay Network is a multi-host network that connects Docker containers using overlay drivers. It enables communication between containers running on different Docker hosts.

役に立ちましたか? コメントを追加 コメントを見る
 

質問 24. What is Docker Registry?

Docker Registry is a storage and distribution system for Docker images. It can be a public registry like Docker Hub or a private registry hosted within an organization.

役に立ちましたか? コメントを追加 コメントを見る
 

質問 25. How do you build a Docker image from a Dockerfile?

You can use the `docker build` command followed by the path to the directory containing the Dockerfile.

Example:

docker build -t my_image:latest .

役に立ちましたか? コメントを追加 コメントを見る
 

ユーザー評価で最も役立つ内容:

著作権 © 2026、WithoutBook。