<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Docker Quiz &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/tag/docker-quiz/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bestdevops.com</link>
	<description>Lets Learn, Do it &#38; Share! Thats a Best DevOps!!!</description>
	<lastBuildDate>Mon, 12 Oct 2026 08:33:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>
	<item>
		<title>Docker Components and Services: How Well Do You Know Them?</title>
		<link>https://www.bestdevops.com/how-well-do-you-know-docker-components-and-services/</link>
					<comments>https://www.bestdevops.com/how-well-do-you-know-docker-components-and-services/#respond</comments>
		
		<dc:creator><![CDATA[anil]]></dc:creator>
		<pubDate>Fri, 07 Apr 2017 10:51:38 +0000</pubDate>
				<category><![CDATA[IT Training]]></category>
		<category><![CDATA[Container]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Docker components]]></category>
		<category><![CDATA[Docker Questions]]></category>
		<category><![CDATA[Docker Quiz]]></category>
		<category><![CDATA[Dockers Q&A]]></category>
		<guid isPermaLink="false">http://www.bestdevops.com/?p=1180</guid>

					<description><![CDATA[Test and deepen your knowledge of core Docker components — from Docker Engine and containerd to Swarm, Compose, Dockerfile, Docker Hub, and more — with this structured Q&#038;A guide.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Docker has become the dominant containerization platform in enterprise IT. Whether you are new to containers or a seasoned DevOps engineer, it pays to have a solid mental model of how Docker&#8217;s individual components fit together. The questions and explanations below walk through the key building blocks of the Docker ecosystem.</p>



<p class="wp-block-paragraph"><em>This article is based on a quiz originally published on <a href="https://www.techtarget.com" rel="noopener">TechTarget</a>. The quiz format has been replaced with a question-and-explanation guide that is more useful for self-study and reference.</em></p>



<h2 class="wp-block-heading">What Operating Systems Does Docker Support?</h2>



<p class="wp-block-paragraph"><strong>Answer: Linux, Windows, and macOS — all of the above.</strong></p>



<p class="wp-block-paragraph">Docker Engine runs natively on Linux. On Windows and macOS, Docker Desktop provides an integrated environment that runs a lightweight Linux virtual machine under the hood. Since Docker&#8217;s kernel-level features (namespaces, cgroups) are Linux primitives, Windows and macOS hosts rely on this VM layer. Docker also has native Windows container support on Windows Server for running Windows-based container images.</p>



<h2 class="wp-block-heading">What Does containerd Manage?</h2>



<p class="wp-block-paragraph"><strong>Answer: The container lifecycle on its Linux or Windows host system.</strong></p>



<p class="wp-block-paragraph"><code>containerd</code> is an industry-standard core container runtime. It is responsible for the full lifecycle of a container on the host: image transfer and storage, container execution and supervision, low-level storage, and network attachments. Docker Engine uses containerd as a core dependency, but containerd is also used independently by Kubernetes and other container orchestration systems. It was donated to the Cloud Native Computing Foundation (CNCF) to ensure vendor-neutral governance.</p>



<h2 class="wp-block-heading">What Does Docker Swarm Mode Do?</h2>



<p class="wp-block-paragraph"><strong>Answer: All of the above — it clusters container nodes, integrates orchestration capabilities, and exists natively within Docker Engine.</strong></p>



<p class="wp-block-paragraph">Docker Swarm mode is Docker&#8217;s built-in clustering and orchestration feature. When you initialise a swarm, Docker Engine nodes are grouped into manager and worker nodes. Managers handle scheduling and cluster state; workers execute containers. Swarm mode provides service definitions, rolling updates, load balancing across nodes, and secret management — without requiring a separate orchestration tool. Because it is built into the Docker Engine binary, no additional installation is needed.</p>



<h2 class="wp-block-heading">What Can You Do With Docker Compose and Swarm Mode Together?</h2>



<p class="wp-block-paragraph"><strong>Answer: Construct and define multi-container applications.</strong></p>



<p class="wp-block-paragraph">Docker Compose uses a YAML file (<code>docker-compose.yml</code>) to define multi-container applications — specifying services, networks, and volumes in a single declarative file. When combined with Swarm mode via <code>docker stack deploy</code>, the same Compose file can be used to deploy and manage a multi-container application across a cluster of Docker nodes. This makes Compose a natural bridge between local development and production-grade orchestration.</p>


<pre class="wp-block-code"><span><code class="hljs language-css"><span class="hljs-selector-tag">version</span>: "3<span class="hljs-selector-class">.8</span>"
<span class="hljs-selector-tag">services</span>:
  <span class="hljs-selector-tag">web</span>:
    <span class="hljs-selector-tag">image</span>: <span class="hljs-selector-tag">nginx</span><span class="hljs-selector-pseudo">:alpine</span>
    <span class="hljs-selector-tag">ports</span>:
      <span class="hljs-selector-tag">-</span> "80<span class="hljs-selector-pseudo">:80"</span>
  <span class="hljs-selector-tag">api</span>:
    <span class="hljs-selector-tag">image</span>: <span class="hljs-selector-tag">myapp</span><span class="hljs-selector-pseudo">:latest</span>
    <span class="hljs-selector-tag">depends_on</span>:
      <span class="hljs-selector-tag">-</span> <span class="hljs-selector-tag">db</span>
  <span class="hljs-selector-tag">db</span>:
    <span class="hljs-selector-tag">image</span>: <span class="hljs-selector-tag">postgres</span><span class="hljs-selector-pseudo">:15</span>
    <span class="hljs-selector-tag">environment</span>:
      <span class="hljs-selector-tag">POSTGRES_PASSWORD</span>: <span class="hljs-selector-tag">example</span></code></span></pre>


<h2 class="wp-block-heading">What Is Docker Hub?</h2>



<p class="wp-block-paragraph"><strong>Answer: A centralized repository of container images.</strong></p>



<p class="wp-block-paragraph">Docker Hub is Docker&#8217;s hosted image registry. It provides a large library of official and community-contributed container images that developers can pull and use as base images. Docker Hub supports both public (free) and private repositories. It also offers automated builds linked to source code repositories, image scanning for known vulnerabilities, and webhooks to trigger downstream workflows. Teams can use Docker Hub as a central distribution point for their own application images.</p>



<h2 class="wp-block-heading">Where Does Docker Datacenter Store Container Registries?</h2>



<p class="wp-block-paragraph"><strong>Answer: On-premises.</strong></p>



<p class="wp-block-paragraph">Docker Datacenter (now represented by Docker Enterprise / Mirantis Kubernetes Engine after Docker&#8217;s enterprise business was acquired by Mirantis) was designed to give organisations a self-hosted, on-premises container management platform. Its integrated registry, Docker Trusted Registry (DTR), stores container images on-premises, giving enterprises full control over image storage, access control, and compliance requirements — without relying on an external cloud registry.</p>



<h2 class="wp-block-heading">Which Feature Is NOT Part of Docker Cloud?</h2>



<p class="wp-block-paragraph"><strong>Answer: Automated legacy application code conversion into microservices.</strong></p>



<p class="wp-block-paragraph">Docker Cloud (which has since been discontinued as a standalone service, with features folded into Docker Hub) provided build and testing pipelines for Dockerized images, tools to manage cloud host infrastructure, and swarm provisioning across cloud providers. It did not offer any automated conversion of legacy monolithic applications into microservices — that architectural transformation requires deliberate design decisions by engineering teams.</p>



<h2 class="wp-block-heading">What Is a Dockerfile?</h2>



<p class="wp-block-paragraph"><strong>Answer: A text file that describes how to build a Docker image.</strong></p>



<p class="wp-block-paragraph">A Dockerfile is a plain-text script containing a series of instructions that Docker Engine executes in sequence to assemble an image. Common instructions include <code>FROM</code> (base image), <code>RUN</code> (execute a command), <code>COPY</code> (add files), <code>EXPOSE</code> (document ports), and <code>CMD</code> or <code>ENTRYPOINT</code> (define the default process). The resulting image is immutable and can be versioned, shared via a registry, and used to start containers consistently across environments.</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">FROM python:<span class="hljs-number">3.12</span>-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE <span class="hljs-number">8000</span>
CMD &#91;<span class="hljs-string">"python"</span>, <span class="hljs-string">"main.py"</span>]</code></span></pre>


<h2 class="wp-block-heading">How Does Docker Machine Manage Virtual Hosts?</h2>



<p class="wp-block-paragraph"><strong>Answer: Via the command line.</strong></p>



<p class="wp-block-paragraph">Docker Machine was a CLI tool (<code>docker-machine</code>) used to provision and manage virtual machines running Docker Engine — on local hypervisors such as VirtualBox or on cloud providers. It allowed engineers to create, inspect, start, stop, and upgrade Docker hosts from a single command-line interface. Docker Machine has since been deprecated; its functionality has been largely superseded by Docker Desktop for local development and cloud-native VM provisioning tools (Terraform, cloud CLIs) for remote infrastructure.</p>



<h2 class="wp-block-heading">Where Does Docker Notary Store Trusted Content Collections?</h2>



<p class="wp-block-paragraph"><strong>Answer: In Docker Hub repositories (and any compatible registry that supports Docker Content Trust).</strong></p>



<p class="wp-block-paragraph">Docker Notary is an implementation of The Update Framework (TUF) that enables publishers to sign container images and consumers to verify those signatures before pulling them. When Docker Content Trust (DCT) is enabled, signed image metadata is stored alongside the image in the registry — including Docker Hub. This protects against image tampering and ensures that only verified, trusted images are used in production deployments.</p>



<h2 class="wp-block-heading">Summary: Docker Component Quick-Reference</h2>



<figure class="wp-block-table"><table><thead><tr><th>Component</th><th>Primary Role</th></tr></thead><tbody><tr><td>Docker Engine</td><td>Core runtime that builds and runs containers</td></tr><tr><td>containerd</td><td>Low-level container lifecycle management on the host</td></tr><tr><td>Swarm Mode</td><td>Built-in clustering and service orchestration</td></tr><tr><td>Docker Compose</td><td>Declarative multi-container application definition</td></tr><tr><td>Dockerfile</td><td>Build instructions for creating a container image</td></tr><tr><td>Docker Hub</td><td>Hosted public/private image registry</td></tr><tr><td>Docker Trusted Registry</td><td>On-premises enterprise image registry</td></tr><tr><td>Docker Machine</td><td>CLI provisioning of Docker-enabled virtual hosts (deprecated)</td></tr><tr><td>Docker Notary / DCT</td><td>Image signing and verification for supply-chain security</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">Understanding how these components interact is foundational for anyone working with containers in a professional environment. Docker&#8217;s ecosystem has continued to evolve — several components listed here (Docker Machine, Docker Cloud, Docker Datacenter) have been deprecated or rebranded — so always refer to the <a href="https://docs.docker.com" rel="noopener">official Docker documentation</a> for the current state of the platform.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/how-well-do-you-know-docker-components-and-services/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
