<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Peter Klein</title>
    <description>The latest articles on DEV Community by Peter Klein (@peterklein).</description>
    <link>https://dev.to/peterklein</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F258222%2F6aeaaaef-a84b-4d15-a60a-709da0ad918d.jpeg</url>
      <title>DEV Community: Peter Klein</title>
      <link>https://dev.to/peterklein</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/peterklein"/>
    <language>en</language>
    <item>
      <title>Beautify docker container output</title>
      <dc:creator>Peter Klein</dc:creator>
      <pubDate>Thu, 07 Jan 2021 19:15:16 +0000</pubDate>
      <link>https://dev.to/peterklein/beautify-docker-container-output-1hme</link>
      <guid>https://dev.to/peterklein/beautify-docker-container-output-1hme</guid>
      <description>&lt;p&gt;Sometimes as a developer you have to manage some containers.&lt;br&gt;
To check container infos you type &lt;code&gt;docker container ls&lt;/code&gt; and you get this ugly output:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yl8Dlt-3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/hysgpwildfrs2qsfu8bq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yl8Dlt-3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/hysgpwildfrs2qsfu8bq.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is not very legible but there is a solution to this, and it is easier than you think.&lt;/p&gt;

&lt;p&gt;First create a variable and store it via&lt;br&gt;
&lt;code&gt;export DOCKER_FORMAT="ID\t{{.ID}}\nName\t{{.Names}}\nImage\t{{.Image}}\nPorts\t{{.Ports}}\nCommand\t{{.Command}}\nCreated\t{{.CreatedAt}}\nStatus\t{{.Status}}\n"&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Then you can use it via &lt;code&gt;docker ps --format=$DOCKER_FORMAT&lt;/code&gt; and you get this beautiful output&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oG8M2Ano--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/jllobicuny53xd3rsjny.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oG8M2Ano--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/jllobicuny53xd3rsjny.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Another way to solve this is to write a config file. I will write another post for this issue.&lt;/p&gt;

</description>
      <category>todayilearned</category>
      <category>docker</category>
      <category>bash</category>
    </item>
    <item>
      <title>How is the Need of German Posts here</title>
      <dc:creator>Peter Klein</dc:creator>
      <pubDate>Tue, 04 Feb 2020 15:18:34 +0000</pubDate>
      <link>https://dev.to/peterklein/how-is-the-need-of-german-posts-here-49ob</link>
      <guid>https://dev.to/peterklein/how-is-the-need-of-german-posts-here-49ob</guid>
      <description>&lt;p&gt;Hi there&lt;/p&gt;

&lt;p&gt;I asked myself how is the need of German Posts Here? Are Here some people who would Like to read German articles?&lt;/p&gt;

&lt;p&gt;The scope would bei Javascript, vuejs, Generally Frontend.&lt;/p&gt;

&lt;p&gt;Let me know it in the comments 😊&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>german</category>
    </item>
    <item>
      <title>Searching for ideas for a clean admin template</title>
      <dc:creator>Peter Klein</dc:creator>
      <pubDate>Thu, 12 Dec 2019 21:27:46 +0000</pubDate>
      <link>https://dev.to/peterklein/searching-for-ideas-for-a-clean-admin-template-1255</link>
      <guid>https://dev.to/peterklein/searching-for-ideas-for-a-clean-admin-template-1255</guid>
      <description>&lt;p&gt;Does anyone know really really good and clean designs for inspiration for building a admin dashboard?&lt;br&gt;
I need one for my apps and i am looking for inspirations/ideas.&lt;/p&gt;

</description>
      <category>admin</category>
      <category>dashboard</category>
      <category>webdev</category>
      <category>idea</category>
    </item>
  </channel>
</rss>
