{"id":33685,"date":"2024-06-16T11:10:00","date_gmt":"2024-06-16T09:10:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=33685"},"modified":"2024-06-16T11:10:00","modified_gmt":"2024-06-16T09:10:00","slug":"using-local-images-with-nerdctl-build","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/","title":{"rendered":"Using local images with nerdctl build?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Following the issue I talked about in my <a href=\"https:\/\/www.dbi-services.com\/blog\/pushing-images-to-a-self-signed-certificate-registry-with-rancher-desktop\/\" target=\"_blank\" rel=\"noreferrer noopener\">last blog<\/a>, I started building local images using &#8220;nerdctl&#8221; for OpenText Documentum 23.4. That worked properly for the first one, which was using the Red Hat base, to install some common OS packages used by for components\/containers of Documentum. However, when I tried to do the next one, based on it, to start installing an Oracle Client specifically for the Documentum Content Server container, it failed with this error:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; highlight: [11,13,19,23,24,25]; title: ; notranslate\" title=\"\">\nMac:ora-client$ .\/build.sh\n************************************************\n*** Building the image &#039;ora-client:19.3.0.0&#039; ***\n************************************************\n\n&#x5B;+] Building 2.2s (3\/3) FINISHED\n =&gt; &#x5B;internal] load build definition from Dockerfile                                                             0.1s\n =&gt; =&gt; transferring dockerfile: 1.42kB                                                                           0.0s\n =&gt; &#x5B;internal] load .dockerignore                                                                                0.1s\n =&gt; =&gt; transferring context: 2B                                                                                  0.0s\n =&gt; ERROR &#x5B;internal] load metadata for registry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot:8.10-901               2.1s\n------\n &gt; &#x5B;internal] load metadata for registry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot:8.10-901:\n------\nDockerfile:12\n--------------------\n  10 |\n  11 |     ARG ARG_BASE_IMAGE\n  12 | &gt;&gt;&gt; FROM $ARG_BASE_IMAGE\n  13 |\n  14 |     LABEL maintainer=&quot;dbi ECM &amp; Application Integration &lt;dbi_eai@dbi-services.com&gt;&quot;\n--------------------\nerror: failed to solve: registry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot:8.10-901: failed to do request: Head &quot;https:\/\/registry-sbx.it.dbi-services.com\/v2\/dbi_dctm\/linux-ot\/manifests\/8.10-901&quot;: x509: certificate is valid for ingress.local, not registry-sbx.it.dbi-services.com\nFATA&#x5B;0002] no image was built\nError: exit status 1\n\nFATA&#x5B;0000] failed to create a tmp single-platform image &quot;registry-sbx.it.dbi-services.com\/dbi_dctm\/ora-client:19.3.0.0-tmp-reduced-platform&quot;: image &quot;registry-sbx.it.dbi-services.com\/dbi_dctm\/ora-client:19.3.0.0&quot;: not found\nError: exit status 1\n\n***********************************************************\n*** Script completed for &#039;dbi_dctm\/ora-client:19.3.0.0&#039; ***\n***********************************************************\nMac:ora-client$\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The above &#8220;nerdctl build&#8221; command fails on the &#8220;<em>FROM $ARG_BASE_IMAGE<\/em>&#8221; where the base image is obviously the one I just built a few minutes before. The error is the same as for the previous blog, related to the Self-Signed SSL Certificate of the private registry. Maybe adding the &#8220;insecure-registry&#8221; parameter to the &#8220;nerdctl build&#8221; command could help workaround the security checks (Note: I tested for the sake of completeness, but it&#8217;s not possible). However, I didn&#8217;t do that in my previous blog as for me, it should only be required if you really\/absolutely need to talk to the private registry\u2026 Since I just built the base image locally, why the hell would it need to be re-downloaded? That doesn&#8217;t make a lot of sense\u2026<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Just to confirm, I checked the local images, to make sure it&#8217;s tagged properly and available:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nMac:ora-client$ nerdctl images\nREPOSITORY                                            TAG         IMAGE ID        CREATED          PLATFORM       SIZE       BLOB SIZE\nregistry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot    8.10-901    9b9b6662b7a7    9 minutes ago    linux\/amd64    1.2 GiB    347.6 MiB\nMac:ora-client$\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">So, it is indeed there. I looked at Google again and found several people saying that &#8220;nerdctl&#8221; isn&#8217;t able to use local images at all\u2026 However, I also saw some people talking about a &#8220;buildkit&#8221; namespace and I remembered seeing the namespace being &#8220;default&#8221; on my system information:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; highlight: [3]; title: ; notranslate\" title=\"\">\nMac:ora-client$ nerdctl system info\nClient:\n Namespace:\tdefault\n Debug Mode:\tfalse\n\nServer:\n ...\nMac:ora-client$\nMac:ora-client$ nerdctl version\nClient:\n Version:\tv1.7.3\n OS\/Arch:\tlinux\/amd64\n Git commit:\t0a464409d0178e16d3d2bed36222937ec3fc9c77\n buildctl:\n  Version:\tv0.12.5\n  GitCommit:\tbac3f2b673f3f9d33e79046008e7a38e856b3dc6\n\nServer:\n containerd:\n  Version:\tv1.7.10\n  GitCommit:\t4e1fe7492b9df85914c389d1f15a3ceedbb280ac\n runc:\n  Version:\t1.1.10\n  GitCommit:\t18a0cb0f32bcac2ecc9a10f327d282759c144dab\nMac:ora-client$\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Therefore, I thought I could try to list the images while specifying all namespaces to see what the outcome would be. Since I had no idea about which namespaces were present, I looked at the help of &#8220;nerdctl&#8221; and saw only &#8220;moby&#8221;, &#8220;k8s.io&#8221; and &#8220;default&#8221;. No mention of &#8220;buildkit&#8221; but I still tried it anyway to see if it would throw an error:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; highlight: [4,12,13,14,16,17]; title: ; notranslate\" title=\"\">\nMac:ora-client$ nerdctl --help | grep -i namespace\n  namespace  Manage containerd namespaces\n  -n, --n string                 Alias of --namespace (default &quot;default&quot;)\n      --namespace string         containerd namespace, such as &quot;moby&quot; for Docker, &quot;k8s.io&quot; for Kubernetes &#x5B;$CONTAINERD_NAMESPACE] (default &quot;default&quot;)\nMac:ora-client$\nMac:ora-client$ nerdctl --namespace moby image ls\nREPOSITORY    TAG    IMAGE ID    CREATED    PLATFORM    SIZE    BLOB SIZE\nMac:ora-client$\nMac:ora-client$ nerdctl --namespace k8s.io image ls\nREPOSITORY    TAG    IMAGE ID    CREATED    PLATFORM    SIZE    BLOB SIZE\nMac:ora-client$\nMac:ora-client$ nerdctl --namespace default images\nREPOSITORY                                            TAG         IMAGE ID        CREATED           PLATFORM       SIZE       BLOB SIZE\nregistry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot    8.10-901    9b9b6662b7a7    18 minutes ago    linux\/amd64    1.2 GiB    347.6 MiB\nMac:ora-client$\nMac:ora-client$ nerdctl --namespace buildkit image ls\nREPOSITORY    TAG    IMAGE ID    CREATED    PLATFORM    SIZE    BLOB SIZE\nMac:ora-client$\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">What I got from that output is that the image is currently only visible on the default namespace, I assume because I didn&#8217;t specify any in the build command. What would happen if I put that image into the &#8220;buildkit&#8221; namespace instead? I saw on the <a href=\"https:\/\/docs.rancherdesktop.io\/how-to-guides\/transfer-container-images\/\" target=\"_blank\" rel=\"noreferrer noopener\">Rancher Desktop documentation<\/a> that it is possible to move an image to another environment or container engine, so I tried to execute that between namespaces:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; highlight: [3,4,10,11,12]; title: ; notranslate\" title=\"\">\nMac:ora-client$ nerdctl --namespace default save -o image.tar registry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot:8.10-901\nMac:ora-client$\nMac:ora-client$ nerdctl --namespace buildkit image ls\nREPOSITORY    TAG    IMAGE ID    CREATED    PLATFORM    SIZE    BLOB SIZE\nMac:ora-client$\nMac:ora-client$ nerdctl --namespace buildkit load -i image.tar\nunpacking registry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot:8.10-901 (sha256:9b9b6662b7a790c39882f8b4fd22e2b85bd4c419b6f6ffd350e447c35b2650f7)...\nLoaded image: registry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot:8.10-901\nMac:ora-client$\nMac:ora-client$ nerdctl --namespace buildkit image ls\nREPOSITORY                                            TAG         IMAGE ID        CREATED           PLATFORM       SIZE       BLOB SIZE\nregistry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot    8.10-901    9b9b6662b7a7    21 seconds ago    linux\/amd64    1.2 GiB    347.6 MiB\nMac:ora-client$\nMac:ora-client$ rm image.tar\nMac:ora-client$\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Now that the image is showing up on the &#8220;buildkit&#8221; namespace, would the build work? I simply re-executed the exact same command as before and this time it was successful:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; highlight: [6,7,8,9,10]; title: ; notranslate\" title=\"\">\n&#x5B;+] Building 149.2s (8\/8) FINISHED\n =&gt; &#x5B;internal] load build definition from Dockerfile                                                             0.1s\n =&gt; =&gt; transferring dockerfile: 1.42kB                                                                           0.0s\n =&gt; &#x5B;internal] load .dockerignore                                                                                0.1s\n =&gt; =&gt; transferring context: 2B                                                                                  0.0s\n =&gt; &#x5B;internal] load metadata for registry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot:8.10-901                     4.2s\n =&gt; &#x5B;internal] load build context                                                                                0.4s\n =&gt; =&gt; transferring context: 21.51kB                                                                             0.4s\n =&gt; &#x5B;1\/3] FROM registry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot:8.10-901@sha256:9b9b6662b7a790c39882f8b4fd2    4.2s\n =&gt; =&gt; resolve registry-sbx.it.dbi-services.com\/dbi_dctm\/linux-ot:8.10-901@sha256:9b9b6662b7a790c39882f8b4fd2    4.2s\n...\n =&gt; =&gt; exporting layers                                                                                          0.3s\n =&gt; =&gt; exporting manifest sha256:d6fc394f3c144735900f521d3dc603ef1b890e3460d4b94d226f9395de7ad1f3                0.1s\n =&gt; =&gt; exporting config sha256:67a60b84eacc425311471cd18fb538419e71cb1e1f4245fa21ad2215b93939f4                  0.0s\n =&gt; =&gt; sending tarball                                                                                          28.5s\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">However, the newly created image showed up on the &#8220;default&#8221; namespace. Therefore, I proceeded to add the command line parameter &#8220;&#8211;namespace buildkit&#8221; to both my &#8220;nerdctl build&#8221; and &#8220;nerdctl push&#8221; commands, so that it would create the images into the &#8220;buildkit&#8221; namespace and use these images to push them into the private registry. That way, it can use the local images and not download anything. Therefore, the updated and final commands for this second image build looks like this:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; highlight: [1,13]; title: ; notranslate\" title=\"\">\nnerdctl --namespace buildkit build --no-cache --rm \\\n  --tag=&quot;${REGISTRY}\/${OWNER}\/${NAME}&quot; \\\n  --build-arg ARG_BASE_IMAGE=&quot;${REGISTRY}\/${OWNER}\/${BASE_IMAGE}&quot; \\\n  --build-arg ARG_ARTIFACTORY_URL=&quot;${ARTIFACTORY_URL}&quot; \\\n  --build-arg ARG_ORACLE_VERSION=&quot;${ORACLE_VERSION}&quot; \\\n  --build-arg ARG_ORACLE_VERSION_DIR=&quot;${ORACLE_VERSION_DIR}&quot; \\\n  --build-arg ARG_ORACLE_PACKAGE_1=&quot;${ORACLE_PACKAGE_1}&quot; \\\n  --build-arg ARG_ORACLE_PACKAGE_2=&quot;${ORACLE_PACKAGE_2}&quot; \\\n  --build-arg ARG_ORACLE_BASE=&quot;${ORACLE_BASE}&quot; \\\n  --build-arg ARG_APP_OWNER=&quot;${APP_OWNER}&quot; \\\n  --build-arg ARG_DATA_BASE=&quot;${DATA_BASE}&quot; .\necho\nnerdctl --namespace buildkit push --insecure-registry ${REGISTRY}\/${OWNER}\/${NAME}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Just to make sure everything worked, I removed all local images and re-built the 1st and 2nd images from scratch. It behaved as expected, putting new images into the &#8220;buildkit&#8221; namespace and using them properly, without pulling anything from the private registry.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In conclusion, is it possible to make &#8220;nerdctl&#8221; use local images? I would say yes\u2026 But you have to specifically build your images into the &#8220;buildkit&#8221; namespace and not into the &#8220;default&#8221; one, otherwise it will not work. Why? No idea :D\u2026 As an additional note, this worked on my Mac using Rancher Desktop (with both old (1.9) and recent versions (1.13)) but when I tried it on a standard Linux VM without Rancher Desktop (just pure containerd\/nerdctl), it didn&#8217;t work and was still trying to pull images from the registry, no matter what. Therefore, on the Linux VM, I switched to &#8220;podman&#8221; (yet another one\u2026 :D).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following the issue I talked about in my last blog, I started building local images using &#8220;nerdctl&#8221; for OpenText Documentum 23.4. That worked properly for the first one, which was using the Red Hat base, to install some common OS packages used by for components\/containers of Documentum. However, when I tried to do the next&hellip;&nbsp;<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[1320],"tags":[3386,738],"class_list":["post-33685","post","type-post","status-publish","format-standard","category-devops","tag-nerdctl","tag-registry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Using local images with nerdctl build? - dbi services Blog<\/title>\n<meta name=\"description\" content=\"Is the nerdctl build command able to use local images that are available, instead of pulling them from the registry?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using local images with nerdctl build?\" \/>\n<meta property=\"og:description\" content=\"Is the nerdctl build command able to use local images that are available, instead of pulling them from the registry?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-16T09:10:00+00:00\" \/>\n<meta name=\"author\" content=\"Morgan Patou\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MorganPatou\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Morgan Patou\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/using-local-images-with-nerdctl-build\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/using-local-images-with-nerdctl-build\\\/\"},\"author\":{\"name\":\"Morgan Patou\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/80b23b8d61648c45dd30be73b6b6979d\"},\"headline\":\"Using local images with nerdctl build?\",\"datePublished\":\"2024-06-16T09:10:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/using-local-images-with-nerdctl-build\\\/\"},\"wordCount\":674,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"keywords\":[\"nerdctl\",\"Registry\"],\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/using-local-images-with-nerdctl-build\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/using-local-images-with-nerdctl-build\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/using-local-images-with-nerdctl-build\\\/\",\"name\":\"Using local images with nerdctl build? - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2024-06-16T09:10:00+00:00\",\"description\":\"Is the nerdctl build command able to use local images that are available, instead of pulling them from the registry?\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/using-local-images-with-nerdctl-build\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/using-local-images-with-nerdctl-build\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/using-local-images-with-nerdctl-build\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using local images with nerdctl build?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/80b23b8d61648c45dd30be73b6b6979d\",\"name\":\"Morgan Patou\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/MOP_web-min-scaled.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/MOP_web-min-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/MOP_web-min-scaled.jpg\",\"caption\":\"Morgan Patou\"},\"description\":\"Morgan Patou has over 15 years of experience building and deploying Java\\\/J2EE applications. He specializes in Enterprise Content Management (ECM) solutions such as Alfresco and Documentum, covering open-source (Apache, OpenLDAP, Kerberos) and proprietary (WebLogic) technologies, with deep expertise in business requirement analysis, ECM architecture, and high-availability infrastructure for mission-critical environments. He oversees knowledge management and technology direction for the ECM practice. He holds Alfresco Content Services Certified Administrator (ACSCA) and Certified Engineer (ACSCE) credentials, plus an Engineering degree in Computer Science from ENSISA Mulhouse. His industry experience covers the public sector, IT, financial services\\\/banking, and pharmaceutical industries.\",\"sameAs\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/morgan-patou\\\/\",\"https:\\\/\\\/x.com\\\/MorganPatou\"],\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/morgan-patou\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Using local images with nerdctl build? - dbi services Blog","description":"Is the nerdctl build command able to use local images that are available, instead of pulling them from the registry?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/","og_locale":"en_US","og_type":"article","og_title":"Using local images with nerdctl build?","og_description":"Is the nerdctl build command able to use local images that are available, instead of pulling them from the registry?","og_url":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2024-06-16T09:10:00+00:00","author":"Morgan Patou","twitter_card":"summary_large_image","twitter_creator":"@MorganPatou","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Morgan Patou","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/"},"author":{"name":"Morgan Patou","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/80b23b8d61648c45dd30be73b6b6979d"},"headline":"Using local images with nerdctl build?","datePublished":"2024-06-16T09:10:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/"},"wordCount":674,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"keywords":["nerdctl","Registry"],"articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/","url":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/","name":"Using local images with nerdctl build? - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2024-06-16T09:10:00+00:00","description":"Is the nerdctl build command able to use local images that are available, instead of pulling them from the registry?","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/using-local-images-with-nerdctl-build\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Using local images with nerdctl build?"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/80b23b8d61648c45dd30be73b6b6979d","name":"Morgan Patou","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/MOP_web-min-scaled.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/MOP_web-min-scaled.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/MOP_web-min-scaled.jpg","caption":"Morgan Patou"},"description":"Morgan Patou has over 15 years of experience building and deploying Java\/J2EE applications. He specializes in Enterprise Content Management (ECM) solutions such as Alfresco and Documentum, covering open-source (Apache, OpenLDAP, Kerberos) and proprietary (WebLogic) technologies, with deep expertise in business requirement analysis, ECM architecture, and high-availability infrastructure for mission-critical environments. He oversees knowledge management and technology direction for the ECM practice. He holds Alfresco Content Services Certified Administrator (ACSCA) and Certified Engineer (ACSCE) credentials, plus an Engineering degree in Computer Science from ENSISA Mulhouse. His industry experience covers the public sector, IT, financial services\/banking, and pharmaceutical industries.","sameAs":["https:\/\/www.dbi-services.com\/blog\/author\/morgan-patou\/","https:\/\/x.com\/MorganPatou"],"url":"https:\/\/www.dbi-services.com\/blog\/author\/morgan-patou\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/33685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=33685"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/33685\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=33685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=33685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=33685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}