<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker on Janusworx</title><link>https://janusworx.com/tags/docker/</link><description>Recent content in Docker 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>Sun, 28 Nov 2021 18:09:20 +0530</lastBuildDate><atom:link href="https://janusworx.com/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>Basic Docker Image Management Pointers</title><link>https://janusworx.com/work/basic-docker-image-management-pointers/</link><pubDate>Sun, 28 Nov 2021 18:09:20 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/basic-docker-image-management-pointers/</guid><description>&lt;p&gt;Stuff for future Jason to take note, when he tries to redo his &lt;a href="https://github.com/huginn/huginn" target="_blank" rel="noreferrer"&gt;Huginn instance …&lt;/a&gt;&lt;br&gt;
I wanted a quick and easy way to install it, without messing up my base system much, so I chose the Docker route.&lt;br&gt;
Now, I don’t know the A or D of Docker, so these quick notes for me to remember in the future.&lt;/p&gt;
&lt;!-- TEASER_END --&gt; 
&lt;ol&gt;
&lt;li&gt;I need to install Docker &lt;a href="https://docs.docker.com/engine/security/rootless/" target="_blank" rel="noreferrer"&gt;rootless, and bring it up as a systemd service.&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;If I want persistent data, I should create a &lt;a href="https://docs.docker.com/storage/volumes/" target="_blank" rel="noreferrer"&gt;Docker volume.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Create an &lt;code&gt;env&lt;/code&gt; file to hold all the secrets that I want to pass to the container&lt;/li&gt;
&lt;li&gt;I need to &lt;code&gt;run&lt;/code&gt; and create my huggins instance first, give it a name, pass the env file and also remembering to mount the volume at the place I need&lt;/li&gt;
&lt;li&gt;I can then &lt;code&gt;start&lt;/code&gt; and &lt;code&gt;stop&lt;/code&gt; the image with the name I assigned it.&lt;/li&gt;
&lt;li&gt;I need to then tag the image &lt;a href="https://docs.docker.com/config/containers/start-containers-automatically/" target="_blank" rel="noreferrer"&gt;with a policy to restart automatically&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;So everytime Docker comes up, it will start the container automatically.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&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!
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>