<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker-Nm on Janusworx</title><link>https://janusworx.com/tags/docker-nm/</link><description>Recent content in Docker-Nm on Janusworx</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feedback@janusworx.com (Mario Jason Braganza)</managingEditor><webMaster>feedback@janusworx.com (Mario Jason Braganza)</webMaster><copyright>© 2026, Mario Jason Braganza</copyright><lastBuildDate>Mon, 20 Oct 2025 07:11:21 +0530</lastBuildDate><atom:link href="https://janusworx.com/tags/docker-nm/index.xml" rel="self" type="application/rss+xml"/><item><title>2025-10-20 Notes</title><link>https://janusworx.com/nm/2025-10-20/</link><pubDate>Mon, 20 Oct 2025 07:11:21 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/nm/2025-10-20/</guid><description>
&lt;h2 class="relative group"&gt;Goals
 &lt;div id="goals" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#goals" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Rejig the day&lt;/li&gt;
&lt;li&gt;Get back to starting on the devops project&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2025-10-20 07:15
 &lt;div id="2025-10-20-0715" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2025-10-20-0715" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Getting back to writing notes after &lt;em&gt;two&lt;/em&gt; months.&lt;/li&gt;
&lt;li&gt;Lots has happenend in that time.&lt;/li&gt;
&lt;li&gt;Need to redo all the work I do and reshuffle them through the day&lt;/li&gt;
&lt;li&gt;BIG Idea: Focus hours first thing in the day. Four hours. One half hour break in the middle&lt;/li&gt;
&lt;li&gt;So the three Ss in the morning. meditation, back physio, making breakfast, feeding the pups in the morning&lt;/li&gt;
&lt;li&gt;Then, start with the focus task of the day&lt;/li&gt;
&lt;li&gt;Then, break for lunch and a nap&lt;/li&gt;
&lt;li&gt;Then, French, and misc work (calendar/org tasks, system updates) and pottering about the house&lt;/li&gt;
&lt;li&gt;Tea, followed by a walk&lt;/li&gt;
&lt;li&gt;OSS work&lt;/li&gt;
&lt;li&gt;Next self learning / hobby block. (Rustlings or Writing posts or working on Rust projects)&lt;/li&gt;
&lt;li&gt;End with planning the day next, before turning in for dinner and bed&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2025-10-20 07:45
 &lt;div id="2025-10-20-0745" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2025-10-20-0745" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;And so we begin! Starting up where I left in the Bootstrapping Microservices Book&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2025-10-20 08:55:&lt;/em&gt; Going well so far. There are distractions, but not much&lt;/li&gt;
&lt;li&gt;Refamiliarised myself and got myself up to speed, much faster than usual&lt;/li&gt;
&lt;li&gt;Best to have two separate Dockerfiles according to the book:
&lt;blockquote&gt;&lt;p&gt;We can get away with having a single Docker Compose file that is parameterized by an environment variable, but I generally keep separate versions for testing development and production.&lt;br&gt;
That’s because I like to have my production Docker Compose file mimic the real production environment as much as feasible. In addition, usually my development version will replace various microservices with mock versions for easier and faster testing, but when testing in production mode, it’s better to test the real microservices and not the mock versions.&lt;/p&gt;
&lt;/blockquote&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2025-10-20 09:35:&lt;/em&gt; Saw an example of containers communicating directly with http&lt;/li&gt;
&lt;li&gt;Learnt how to be dangerous with &lt;code&gt;mongosh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2025-10-20 10:00:&lt;/em&gt; Tea break&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2025-10-20 10:30
 &lt;div id="2025-10-20-1030" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2025-10-20-1030" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Back&lt;/li&gt;
&lt;li&gt;&lt;em&gt;2025-10-20 10:58:&lt;/em&gt; Got through whole chapter! On to chapter 6!&lt;/li&gt;
&lt;li&gt;Updating &lt;code&gt;kind&lt;/code&gt; on my machine&lt;/li&gt;
&lt;li&gt;Learned that &lt;code&gt;kind&lt;/code&gt; lets me have as many “nodes” as I want. This tiny snippet gives me a control plane &lt;em&gt;and&lt;/em&gt; two nodes!&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;Cluster&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;kind.x-k8s.io/v1alpha4&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;my-humongous-cluster&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;nodes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="nt"&gt;role&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;control-plane&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="nt"&gt;role&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;worker&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="nt"&gt;role&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;worker&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Kind has no access to my locally built images. I need to load them in …&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;kind load docker-image &amp;lt;image-name:n&amp;gt; &lt;span class="c1"&gt;# n is a version number tag&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;2025-10-20 12:50:&lt;/em&gt; Done for the day. Good progress&lt;br&gt;
Had issues with kind. Will investigate Minikube tomorrow.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2025-10-20 19:00
 &lt;div id="2025-10-20-1900" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2025-10-20-1900" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Did Rustling for an hour. Head’s flummoxed with the final enums exercise&lt;/li&gt;
&lt;li&gt;Did lots of housework as well&lt;/li&gt;
&lt;li&gt;This new state of affairs has gone well for today&lt;/li&gt;
&lt;li&gt;Let’s see how the next couple of weeks go&lt;/li&gt;
&lt;/ul&gt;
&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;

&lt;p&gt;&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;

Feedback on this post?&lt;br&gt;
Mail me at &lt;a href="mailto:feebdback@janusworx.com?subject=%22Feedback on post: 2025-10-20 Notes
%22" &gt;feedback at this domain&lt;/a&gt;.
&lt;br&gt;
&lt;/p&gt;</description></item><item><title>2025-01-24 Notes</title><link>https://janusworx.com/nm/2025-01-24/</link><pubDate>Fri, 24 Jan 2025 07:54:32 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/nm/2025-01-24/</guid><description>
&lt;h2 class="relative group"&gt;Goal
 &lt;div id="goal" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#goal" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Get Ansible doing things on my intel NUC&lt;/li&gt;
&lt;/ul&gt;
&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;


&lt;h3 class="relative group"&gt;2025-01-24 09:15
 &lt;div id="2025-01-24-0915" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2025-01-24-0915" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;09:15: Starting up and getting into the swing of things is the hardest part of the day. I’m still at a loss as to, what breadcrumb do I leave myself the day before, so that this struggle with stasis gets easier. maybe just leave a clue to myself, of what I was thinking about doing/tackling next&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;10:14: Got my ansible playbook validated with &lt;code&gt;yamllint&lt;/code&gt;. Progress! And also the confidence that splitting my lines with the &lt;code&gt;&amp;gt;&lt;/code&gt; does in fact keep it on a single line in practice&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Note to Self: Struggling to make progress? Lower the bar. Lower the standards of what progress looks like. Make it easy. But make sure you show up!&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Note to Self Deux: Learn about yaml block chompers: &lt;a href="https://yaml-multiline.info/" target="_blank" rel="noreferrer"&gt;https://yaml-multiline.info/&lt;/a&gt; &amp;amp; &lt;a href="https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines/21699210#21699210" target="_blank" rel="noreferrer"&gt;https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines/21699210#21699210&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Syncthing Note (for the next machine): Figure out where syncthing stores its config folder and regularly back it up. It&amp;rsquo;ll help with Ansible restores. You just have to dump the config back &lt;em&gt;after&lt;/em&gt; mounting all the paths just as they were before with the same owner (probably &lt;em&gt;before&lt;/em&gt; we do the install syncthing play?). The config’s in &lt;code&gt;~/.config/syncthing&lt;/code&gt; currently, but new machines/new installs might have it in &lt;code&gt;$XDG_STATE_HOME/syncthing&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Since my brain isn’t quite working, am making sure my playbook is validating with &lt;code&gt;ansible-lint&lt;/code&gt; Love the tool. It’s instilling best practices into my muscle memory&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Woohoo!

&lt;figure&gt;
 &lt;img class="my-0 rounded-md" src="https://janusworx.com/images/2025/ansible-lint-passing.png" alt="screenshot: results of running the ansible-lint command. all ok!" /&gt;
 
 
 &lt;/figure&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The playbook still executes 😂 On a more serious note, working to a predefined spec, makes life easy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ok. it executed a little too well and I made a booboo. Now my NUC won’t boot. Be back whenever!&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2025-01-24 11:45
 &lt;div id="2025-01-24-1145" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2025-01-24-1145" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Moving on the recovery stage.&lt;/li&gt;
&lt;li&gt;Downloading a debian iso :)&lt;/li&gt;
&lt;li&gt;writing image to a usb flash drive&lt;/li&gt;
&lt;li&gt;Done. Now to the hard part. Rummaging in my table and connecting displays and all that jazz&lt;/li&gt;
&lt;li&gt;12:17: and we’re back up! wow! This was good, trial by mini-fire&lt;/li&gt;
&lt;li&gt;The whole playbook just paid for itself. I fixed my booboo, ran the playbook and the machine came right back to where I was! Hurrah for Ansible! This is amazing!&lt;/li&gt;
&lt;li&gt;If it wasn’t for the downloading the iso and burrowing under the table to fix a keyboard and monitor part, I’d be done in 5 minutes actually.&lt;/li&gt;
&lt;li&gt;Done for now. Be back later if I can. Or tomorrow.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2025-01-24 12:30
 &lt;div id="2025-01-24-1230" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2025-01-24-1230" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Client Meeting&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2025-01-24 15:50
 &lt;div id="2025-01-24-1550" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2025-01-24-1550" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Back at work.&lt;/li&gt;
&lt;li&gt;nginx installed&lt;/li&gt;
&lt;li&gt;ok now to install the docker apt repo and install docker-engine&lt;/li&gt;
&lt;li&gt;18:13: got it done! hurrah! pleased as punch :)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 class="relative group"&gt;2025-01-24 20:14
 &lt;div id="2025-01-24-2014" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#2025-01-24-2014" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Done!&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;

Feedback on this post?&lt;br&gt;
Mail me at &lt;a href="mailto:feebdback@janusworx.com?subject=%22Feedback on post: 2025-01-24 Notes
%22" &gt;feedback at this domain&lt;/a&gt;.
&lt;br&gt;

&lt;br&gt;

P.S. Subscribe to my &lt;a href="https://janusworx.com/subscribe/" target="_blank" rel="noreferrer"&gt;mailing list!&lt;/a&gt;&lt;br&gt;
Forward these posts and letters to your friends and get them to subscribe!&lt;br&gt;
P.P.S. Feed my &lt;a href="https://www.amazon.in/hz/wishlist/ls/2QAUKHHAMOOVS?ref_=wl_share" target="_blank" rel="noreferrer"&gt;insatiable reading habit.&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>