<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Docker on Planet Hawleywood</title><link>https://blog.planethawleywood.com/tags/docker/</link><description>Recent content in Docker on Planet Hawleywood</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 31 Aug 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.planethawleywood.com/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>Self-hosting LanguageTool</title><link>https://blog.planethawleywood.com/posts/self-hosting-languagetool/</link><pubDate>Wed, 31 Aug 2022 00:00:00 +0000</pubDate><guid>https://blog.planethawleywood.com/posts/self-hosting-languagetool/</guid><description>&lt;h2 id="summary"&gt;Summary&lt;/h2&gt;
&lt;p&gt;LanguageTool is a free online proofreading service for English, Spanish, and 20 other languages. Instantly check your text for grammar and style mistakes. It&amp;rsquo;s a free alternative to similar sites/services like Grammarly. While I&amp;rsquo;m not sure that &lt;a href="https://www.youtube.com/watch?v=rgUGJDMSG1E"&gt;Grammarly is a Privacy Nightmare&lt;/a&gt;, I don&amp;rsquo;t like the idea of sending everything I write to a third party service for inspection.&lt;/p&gt;
&lt;p&gt;The free version of LanguageTool has a much better reputation, although that may be because it&amp;rsquo;s less well-known. It&amp;rsquo;s also nice that it&amp;rsquo;s an open-source project that publishes the &lt;a href="https://github.com/languagetool-org/languagetool"&gt;code&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Uncomplicated Firewall / Docker Workaround</title><link>https://blog.planethawleywood.com/posts/ufw-docker-workaround/</link><pubDate>Wed, 10 Aug 2022 00:00:00 +0000</pubDate><guid>https://blog.planethawleywood.com/posts/ufw-docker-workaround/</guid><description>&lt;p&gt;To get UFW to work well with Docker, you have to add some rules to the bottom of&lt;/p&gt;
&lt;p&gt;&lt;code&gt;/etc/ufw/after.rules&lt;/code&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;# BEGIN UFW AND DOCKER
*filter
:ufw-user-forward - [0:0]
:ufw-docker-logging-deny - [0:0]
:DOCKER-USER - [0:0]
-A DOCKER-USER -j ufw-user-forward
-A DOCKER-USER -j RETURN -s 10.0.0.0/8
-A DOCKER-USER -j RETURN -s 172.16.0.0/12
-A DOCKER-USER -j RETURN -s 192.168.0.0/16
-A DOCKER-USER -p udp -m udp --sport 53 --dport 1024:65535 -j RETURN
-A DOCKER-USER -j ufw-docker-logging-deny -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -d 192.168.0.0/16
-A DOCKER-USER -j ufw-docker-logging-deny -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -d 10.0.0.0/8
-A DOCKER-USER -j ufw-docker-logging-deny -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -d 172.16.0.0/12
-A DOCKER-USER -j ufw-docker-logging-deny -p udp -m udp --dport 0:32767 -d 192.168.0.0/16
-A DOCKER-USER -j ufw-docker-logging-deny -p udp -m udp --dport 0:32767 -d 10.0.0.0/8
-A DOCKER-USER -j ufw-docker-logging-deny -p udp -m udp --dport 0:32767 -d 172.16.0.0/12
-A DOCKER-USER -j RETURN
-A ufw-docker-logging-deny -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix &amp;#34;[UFW DOCKER BLOCK] &amp;#34;
-A ufw-docker-logging-deny -j DROP
COMMIT
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="adding-rules"&gt;Adding Rules&lt;/h3&gt;
&lt;p&gt;Then you can add rules. Always add rules with comments. Examples below:&lt;/p&gt;</description></item><item><title>Doctor Docker (or "How I Learned to Stop Worrying and Tolerate the Container")</title><link>https://blog.planethawleywood.com/posts/doctor-docker-or-how-i-learned-to-stop-worrying-and-tolerate-the-container/</link><pubDate>Wed, 24 Nov 2021 00:00:00 +0000</pubDate><guid>https://blog.planethawleywood.com/posts/doctor-docker-or-how-i-learned-to-stop-worrying-and-tolerate-the-container/</guid><description>&lt;p&gt;&lt;strong&gt;Backstory:&lt;/strong&gt; I&amp;rsquo;ve been either paying for or using 3rd part apps for Read-It-Later (&lt;a href="https://getpocket.com/"&gt;Pocket&lt;/a&gt;), Hosted Bookmarks (&lt;a href="https://raindrop.io/"&gt;Raindrop.io&lt;/a&gt;) and an RSS Feedreader (&lt;a href="https://www.inoreader.com/"&gt;Inoreader&lt;/a&gt;) for about a year. In the interest of 1) teaching myself Docker and 2) decoupling from hosted solutions I have finally replaced all three of the above apps with docker containers.&lt;/p&gt;
&lt;p&gt;I am using &lt;a href="https://www.portainer.io/"&gt;Portainer&lt;/a&gt; to manage my docker nodes (I have two) and containers. I recommend learning at least the basics on how to build and modify containers via the command line before using a GUI tool to manage them, but Portainer came highly recommended and abstracts a lot of the drudgery into simple point and clicks.&lt;/p&gt;</description></item></channel></rss>