Images, containers, Dockerfile, volumes, networks, compose.
این مجموعه فلشکارت شامل پرسش و پاسخهای کوتاه و دقیق درباره داکر، ایمیجها، کانتینرها، داکر فایل، ولومها، شبکهها و داکر کامپوز است. این ابزار به شما کمک میکند مفاهیم کلیدی را به خاطر بسپارید.
این دک برای برنامهنویسان، مدیران سیستم و افرادی که میخواهند خود را برای مصاحبههای شغلی آماده کنند مناسب است. سوالات به گونهای طراحی شدهاند که مباحث پایه و کاربردی را پوشش دهند.
با استفاده از سیستم تکرار با فاصله (SRS) در یادمد، میتوانید این کارتها را در بازههای زمانی مشخص مرور کنید تا اطلاعات از حافظه کوتاه مدت به حافظه بلند مدت شما منتقل شوند.
۱۲ کارت اول از ۵۰ — رو و پشت هر کارت
What is a container image?
A lightweight, standalone, and executable software package that includes everything needed to run an application, including the code, runtime, system tools, libraries, and settings.
What is a Docker container?
A running instance of a Docker image. It is an isolated, secure, and ephemeral execution environment that shares the host machine's kernel.
What is a Dockerfile?
A text document that contains all the sequential commands and instructions a user could call on the command line to assemble a Docker image.
What is the function of the FROM instruction in a Dockerfile?
It initializes a new build stage and sets the base image for subsequent instructions.
What is the difference between RUN, CMD, and ENTRYPOINT in a Dockerfile?
RUN executes commands during the image build process and commits the results. CMD provides default arguments for an executing container which can be overridden. ENTRYPOINT configures a container that will run as an executable.
What is the purpose of Docker volumes?
They are the preferred mechanism for persisting and sharing data generated by and used by Docker containers, independent of the container's lifecycle.
What is a bind mount in Docker?
A feature that mounts a file or directory from the host machine directly into a container, allowing real-time file updates and synchronization.
What is the main difference between volumes and bind mounts?
Volumes are managed entirely by Docker and stored in a dedicated part of the host filesystem, whereas bind mounts depend on the host machine's specific directory structure and file permissions.
What is a Docker network?
An abstraction layer that enables containers to communicate with each other, with the host machine, and with external networks in an isolated or bridged manner.
What is the default Docker network driver?
The bridge driver, which creates a private network internal to the host so containers on the same bridge can communicate while being isolated from external traffic.
What is a host network driver in Docker?
A networking mode that removes network isolation between the container and the Docker host, making the container use the host's networking stack directly.
What is an overlay network in Docker?
A network driver that enables communication across multiple Docker daemon hosts, commonly used in Docker Swarm clustering environments.
این دک برای افراد مبتدی تا متوسط که با مفاهیم اولیه لینوکس آشنا هستند و میخواهند داکر را یاد بگیرند یا برای مصاحبه آماده شوند، مناسب است.
علاوه بر مباحث پایه مانند ایمیج و کانتینر، به موضوعات کاربردی مانند داکر کامپوز، شبکهها و مدیریت دادهها با ولومها نیز پرداخته شده است.
زمان لازم بسته به دانش قبلی شما متفاوت است، اما با صرف روزانه ۱۰ تا ۱۵ دقیقه میتوانید به مرور کارتها بپردازید.
هنوز کسی آزمون نداده؛ اولین نفر باش.
تا ۲۰ سؤال چهارگزینهای از همین دسته، ۳۰ ثانیه برای هر سؤال. خودت را بسنج و رتبهات را میان بقیه ببین. هر نفر فقط یکبار میتواند شرکت کند.
برای شرکت در آزمون وارد شو