<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chaima Raach on Medium]]></title>
        <description><![CDATA[Stories by Chaima Raach on Medium]]></description>
        <link>https://medium.com/@raachaima?source=rss-e966ea9304bf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zhIhmG7SYrqY6BhDFnPphg.jpeg</url>
            <title>Stories by Chaima Raach on Medium</title>
            <link>https://medium.com/@raachaima?source=rss-e966ea9304bf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 01:47:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raachaima/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Docker Cheatsheet: Your Ultimate Guide to Containerization]]></title>
            <link>https://medium.com/@raachaima/docker-cheatsheet-your-ultimate-guide-to-containerization-4a88bd942909?source=rss-e966ea9304bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a88bd942909</guid>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[cheatsheet]]></category>
            <dc:creator><![CDATA[Chaima Raach]]></dc:creator>
            <pubDate>Thu, 13 Apr 2023 19:58:14 GMT</pubDate>
            <atom:updated>2023-04-13T20:01:31.319Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dhjb2G3_GF1r5aR3XqgZFg.png" /></figure><p>Docker is a platform for building, shipping, and running applications in containers.</p><p>Containers are lightweight, portable, and self-contained environments that can run on any machine with Docker installed, regardless of the underlying operating system or hardware.</p><p>Docker makes it easy to package an application and its dependencies into a single container, which can then be easily distributed and deployed to any Docker-enabled environment. This approach offers a number of benefits, including increased flexibility, faster deployment times, and greater consistency between development and production environments. Docker has become a popular tool among developers and IT professionals, and is widely used in industries such as e-commerce, healthcare, finance, and more.</p><p>Let’s explore some essential Docker commands below.</p><h3>Getting started :</h3><p>Start the Docker daemon:</p><pre>docker -d</pre><p>Get help with Docker :</p><pre>docker --help</pre><p>Display docker system informations :</p><pre>docker info</pre><p>Log in to a Docker registry DockerHub :</p><pre>docker login</pre><p>Log out of a Docker registry:</p><pre>docker logout</pre><h3>Container :</h3><p>List running containers :</p><pre>docker ps</pre><p>List all containers (running and stopped) :</p><pre>docker ps -a</pre><p>Create and run a container from an image, with a custom name :</p><pre>docker run --name &lt;container_name&gt; &lt;image_name&gt;</pre><p>Run a container in the background :</p><pre>docker run -d &lt;image_name&gt;</pre><p>Start or stop an existing container :</p><pre>docker start &lt;container_name&gt; (or &lt;container-id&gt;)<br>docker stop &lt;container_name&gt; (or &lt;container-id&gt;)</pre><p>Remove a stopped container :</p><pre>docker rm &lt;container_name&gt;</pre><p>Inspect a running container :</p><pre>docker inspect &lt;container_name&gt; (or &lt;container_id&gt;)</pre><p>View logs for a running container:</p><pre>docker logs [container]</pre><p>Retrieve logs created before a specific point in time:</p><pre>docker logs -f --until=[interval] [container]</pre><p>View port mapping for a container:</p><pre>docker port [container]</pre><h3>Images :</h3><p>List local images :</p><pre>docker images</pre><p>Remove an image :</p><pre>docker rmi &lt;image_name&gt;</pre><p>Remove all unused images :</p><pre>docker image prune</pre><p>Build an Image from a Dockerfile :</p><pre>docker build -t &lt;image_name&gt;</pre><p>Build an Image from a Dockerfile without the cache :</p><pre>docker build -t &lt;image_name&gt; . –no-cache</pre><p>Pull an image from a registry:</p><pre>docker pull &lt;image_name&gt;</pre><p>Push an image to a registry:</p><pre>docker push &lt;image_name&gt;</pre><p>Create an image from a container:</p><pre>docker commit &lt;container_name&gt; &lt;image_name&gt;</pre><h3>Networking :</h3><p>List available networks :</p><pre>docker network ls</pre><p>Remove one/more networks:</p><pre>docker network rm &lt;network_name&gt;</pre><p>Inspect a network :</p><pre>docker network inspect &lt;network_name&gt;</pre><p>Connect a container to a network:</p><pre>docker network connect &lt;network_name&gt; &lt;container_name&gt;</pre><p>Disconnect a container from a network:</p><pre>docker network disconnect &lt;network_name&gt; &lt;container_name&gt;</pre><h3>Dockerhub :</h3><p>Log in to a Docker registry :</p><pre>docker login</pre><p>Log out of a Docker registry:</p><pre>docker logout</pre><p>Publish an image to Docker Hub :</p><pre>docker push &lt;username&gt;/&lt;image_name&gt;</pre><p>Search Hub for an image :</p><pre>docker search &lt;image_name&gt;</pre><h3>Conclusion :</h3><p>In conclusion, Docker is a valuable tool for developers and IT professionals, allowing them to streamline their development, testing, and deployment workflows. This cheat sheet provides a quick reference guide to the basic Docker commands and concepts for container creation and management, as well as networking.</p><p>If I have missed any details, please let me know in comments. I will keep updating accordingly.</p><p>Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a88bd942909" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Social Coding — Coding faster and better.]]></title>
            <link>https://medium.com/@raachaima/social-coding-coding-faster-and-better-79e6b556ef8e?source=rss-e966ea9304bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/79e6b556ef8e</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[coding-style]]></category>
            <category><![CDATA[social-coding]]></category>
            <dc:creator><![CDATA[Chaima Raach]]></dc:creator>
            <pubDate>Fri, 20 Jan 2023 16:10:35 GMT</pubDate>
            <atom:updated>2023-01-20T16:13:42.180Z</atom:updated>
            <content:encoded><![CDATA[<h3>Social Coding — Coding faster and better.</h3><p>Twenty or even 10 years ago, the idea of social coding was unheard of, and it is still gaining ground today. It is a method for creating software that focuses and promotes both official and unofficial developer exchanges and cooperation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ezP6_5x1bgGZ5bDDNd1paQ.png" /></figure><p>The open-source movement and social coding have a significant impact on software development. Anyone working for the firm may make changes to a project’s source code in the corporate setting. Contributed modifications are reviewed and approved by only the project members with the authority to accept code changes through a pull request.</p><h3>Benefits of social coding :</h3><p>Social coding makes it possible to share knowledge. Software engineers can find and reuse code, develop better and faster solutions than they might otherwise needlessly duplicate by contributing to open source projects.<br>Additionally, social coding can raise the level of code quality. You have an extra motivation to get it properly because a lot of engineers will be watching it. The likelihood that someone in the crowd understands the solution to an issue rises with the size of the audience.</p><p>Social coding also improves documentation, as Mark Chu-Carroll puts it :</p><blockquote>“If you’re programming and you know that your coworkers are going to look at your code, you program differently. You’ll write code that’s neater, better documented and better organized — because you’ll know that people whose opinions you care about will be looking at your code. Without review, you know that people will look at code eventually. But because it’s not immediate, it doesn’t have that same sense of urgency, and it doesn’t have the same feeling of personal judgement.”</blockquote><h3>Social coding and DevOps :</h3><p>DevOps is the practice of development and operations engineers cooperating throughout the whole development lifecycle while adhering to Lean and Agile principles to produce software quickly and continuously.<br>Working jointly between Dev and Ops is not what DevOps is. It is a shift in culture and a new way of doing things at work.<br>The three components of DevOps are culture, methodology, and tools. Culture is the most significant of these.<br>Social coding is crucial to build DevOps culture at work. As Todd Vernon puts it :</p><blockquote>“ DevOps makes coding more social, social coding makes better code ”</blockquote><h3>Tools for social coding :</h3><p>We can’t talk about social coding without talking about Git.</p><blockquote>Git was created in 2005 by Linus Torvalds (who is also the creator of Linux). Linus was looking for an easy way to manage source code for Linux, which has thousands of developers all over the world. Frustrated with current tools, he wrote the first version of Git during a cross-Atlantic flight. It quickly became the defacto tool for storing and sharing source code thanks to its quick speed and versatility. — <a href="https://opentechschool.github.io/social-coding/">opentechschool.github.io</a></blockquote><p>Direct person-to-person communication is less necessary when using Git to develop software. Extreme transparency is used, making all user actions accessible to the public so that teams and developers can self-organize in a less centralized manner. Additionally, it offers pull requests, bugs, and embedded documentation.<br>The first thing a new contributor sees in a project is the readme file. If it is adequately written, it can give developers the information they need to get started rather than requiring them to approach a project member for assistance.</p><h3>Humans are social by nature :</h3><p>Aren’t we a social species that depends on cooperation to survive and succeed?<br>Project development is typically social in character. Together, everyone can do tasks more quickly and effectively. Because management and employees do not have to spend important time arguing or settling disputes, cooperation saves time. In a collaborative workplace, employees are more productive because they have more time to devote to their tasks.<br>Social coding involves more than just coding; it also involves facilitating organizational change and providing socially responsible economic value.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79e6b556ef8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Networking Commands You Should Know!]]></title>
            <link>https://medium.com/@raachaima/linux-networking-commands-you-should-know-3eb524ebb26a?source=rss-e966ea9304bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/3eb524ebb26a</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[commands]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[networking-tips]]></category>
            <dc:creator><![CDATA[Chaima Raach]]></dc:creator>
            <pubDate>Fri, 30 Dec 2022 19:14:52 GMT</pubDate>
            <atom:updated>2022-12-30T19:14:52.073Z</atom:updated>
            <content:encoded><![CDATA[<p>Network problems can arise from a variety of sources. The ability to identify and resolve problems quickly and efficiently is necessary for most of us!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pblnFtguXI0jkPHrp7foGg.png" /></figure><p>This post will cover the most important networking and troubleshooting commands that are available in Linux systems.</p><h3>1- ifconfig :</h3><p>ifconfig is always used in a test or debug context. It communicates with the IPConfiguration agent to retreive and set network configuration parameters.</p><pre>ifconfig</pre><p>This command displays the configuration state, including :</p><ul><li>IP address</li><li>MAC address</li><li>MTU (maximum transmission unit)</li></ul><p>To get more details of a specific interface you can use :</p><pre>ifconfig eht0 #ethernet<br>ifconfig l0   #local loopback<br>ifconfig wlan0 #wireless network</pre><p>To set an IP address and gateway you can use :</p><pre>ifconfig eth0 &lt;address&gt; netmask &lt;address&gt;</pre><h3>2- netstat :</h3><p>netstat, or <strong>network statistics</strong> displays the content of network-related data structures in various formats, depending on the options you select.</p><pre>netstat</pre><p>&gt; Displays a list of active internet connections for each protocol.</p><p>Some options that you might need :</p><ul><li><em>netstat -r : </em>Display routing tables</li><li><em>netstat -a : </em>Display all connections</li><li><em>netstat -at :</em> Display TCP and UDP connections only</li><li><em>netstat -s :</em> display summary statistics for each protocol :</li></ul><h3>3- ping :</h3><p>ping, or <strong>Packet Internet Groper, </strong>is a basic command that verifies if a given IP address exists and that if it can accepts requests.</p><p>It works by sending an <strong>ICMP echo request </strong>to a specified address and wait for an <strong>echo reply. </strong>By default, ping command sends multiple requests, and displays the result. The result shows whether the request had a successful response. It also includes the number of bytes sent and the time that took it to receive a reply <strong>(TTL : Time To Live)</strong>.</p><p>Basic use :</p><pre>ping &lt;ip address&gt;<br>ping medium.com</pre><p>Some options you might need :</p><ul><li><em>-i </em>: waits interval seconds between sending each packet.</li><li><em>-q </em>: quiet output, nothing is displayed except the summary lines and when finished.</li><li><em>-c</em> : specify the number of echo requests.</li></ul><h3>4- traceroute :</h3><p>traceroute is one of the most useful commands in troubleshooting. It trackes the route one’s packet follow by using the IP protocol <strong>Time To Live</strong> and <strong>ICMP Time_Exceeded</strong> responses for each gateway along the path to the destination.</p><pre>traceroute &lt;ip address&gt;<br>traceroute medium.com</pre><p>Some options you might need :</p><ul><li><em>-m</em> : set the max TTL used in outgoing packets.</li><li><em>-4, -6 </em>: force IPv4 or IPv6 tracerouting.</li><li><em>-w</em> : set the time to wait for a response for a probe.</li></ul><h3>5- host :</h3><p>host is a simple command used for DNS lookups. It is mainly used to convert IP addresses to names and vice versa.</p><pre>host &lt;ip address&gt;<br>host medium.com</pre><p>When no arguments or options are given, <strong>host</strong> prints a short summary of its command line arguments and options.</p><p>Some options you might need :</p><ul><li><em>-4 , -6</em> : only IPv4 or IPv6 should be using for query transport.</li><li><em>-v</em> : This option sets verbose output, and is equivalent to the <strong>-d</strong> debug option.</li></ul><h3>6- dig :</h3><p>dig, or <strong>domain information groper</strong> is a tool used for interogating DNS name servers. It is used to query DNS name servers and also for troubleshooting DNS issues.</p><pre>dig &lt;ip address&gt;<br>dig medium.com</pre><p>Some options you might need :</p><ul><li><em>-4 </em>: use IPv4 only.</li><li><em>-6</em> : use IPv6 only.</li><li><em>-q name</em> : The domain name to query. It is useful to distinguish the name from other arguments</li></ul><h3>Conclusion :</h3><p>In this article, I tried to cover the most important Linux command-line utilities for network troubleshooting and configuration.</p><p>If you are getting started with system administration or DevOps, it is essential to learn about these utilities to support the projects you are working on.</p><p>If I have missed any details, please let me know in comments. I will keep updating accordingly.</p><p>Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3eb524ebb26a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>