<?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 Ivan Mercedes on Medium]]></title>
        <description><![CDATA[Stories by Ivan Mercedes on Medium]]></description>
        <link>https://medium.com/@ivan.mercedes?source=rss-433e4b52a556------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JiKVGOFLjvg90XJn-3I_zA.png</url>
            <title>Stories by Ivan Mercedes on Medium</title>
            <link>https://medium.com/@ivan.mercedes?source=rss-433e4b52a556------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 12:14:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ivan.mercedes/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[A Game-Changer for Planning and Sharing Fun Activities and Things To Do — Fun Day Plan!]]></title>
            <link>https://medium.com/@ivan.mercedes/a-game-changer-for-planning-and-sharing-fun-activities-and-things-to-do-fun-day-plan-b8fc9b6a9d42?source=rss-433e4b52a556------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8fc9b6a9d42</guid>
            <category><![CDATA[things-to-do]]></category>
            <category><![CDATA[activities-for-kids]]></category>
            <category><![CDATA[activities-near-me]]></category>
            <dc:creator><![CDATA[Ivan Mercedes]]></dc:creator>
            <pubDate>Mon, 21 Oct 2024 00:48:03 GMT</pubDate>
            <atom:updated>2024-10-21T01:09:50.047Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Game-Changer for Planning and Sharing Fun Activities and Things To Do — Fun Day Plan!</h3><p>Use AI to plan a fun day with activities, dining and things to do, or search for specific types of activities and create the plan, then export and share your plan via <a href="https://fundayplan.com/">fundayplan.com</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Diaa6EKnlAmH3z2x" /><figcaption>Photo by <a href="https://unsplash.com/@zoshuacolah?utm_source=medium&amp;utm_medium=referral">Zoshua Colah</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I recently developed <strong>Fun Day Plan</strong> (<a href="https://fundayplan.com/">fundayplan.com</a>), and it has completely transformed how I organize outings and activities and hope it does the same for you. Please note that I am the creator of this tool, which contains affiliate links but is otherwise free to use. Here’s what I love about it:</p><p><strong>User-Friendly Interface:</strong> The website is incredibly easy to navigate yet provides powerful simple or advanced options. Its intuitive, familiar design should help simplify the way you find, plan for and share activities in your area with just a few clicks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hwqib_A2SdoTMnxtRPHHOw.png" /><figcaption>Screenshot of key features of Fun Day Plan — Simple, Advanced and Plan</figcaption></figure><p><strong>Diverse Activity Options:</strong> Whether you’re looking for family-friendly events, adventurous outings, or unique experiences, there’s something for everyone. The <strong>Simple</strong> feature uses AI and allows you to provide simple instructions in a text prompt to simplify creation of your plan with the desired activities in mind, while the <strong>Advanced</strong> feature allows you to select from a number of options and identify activities or restaurants in a specific geographic area. These activities can then be added to the <strong>Plan</strong>.</p><h4>Use Case</h4><p>Using the <strong>Simple</strong> feature, I was able to quickly create a plan that consists of the key experiences I’m most interested in. The prompt I typed in was “<em>Plan a fun day around the Dominican Republic with sightseeing, attractions, relaxation, dining and nightlife.</em>” Not only did the site produce a list of activities that appear to match my interests, it also provided a Google map with markers to visualize the location of each activity (see the next image).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LDJylLWJJZHzdtdM" /><figcaption>Screenshot of the Simple feature with the Google Maps embedded</figcaption></figure><p>The app automatically added the activities to a new plan where I continued to fine-tune things; for instance:</p><ol><li>I wanted to reduce the commute and keep the activities a little closer together, so I removed the 3rd activity from the initial set of results above</li><li>I moved the sightseeing activity towards morning time, figuring it may be more enjoyable with fewer people earlier in the day; I figured 2 hours onsite and we’d be ready for our next activity, stopping for a bite to eat along the way, to allow some variety in the plan</li><li>Given how much my family enjoys the beach, I planned on spending around 4 hours beachside before heading back to the resort</li><li>Finally, once back at the resort and fresh and clean, we’d catch dinner as a family before setting out with the adults on a late night adventure</li></ol><p>The final plan would consist of the 4 activities, mapped and in sequence, plus some idea of the driving route and proximity of the activities to the resort, leaving room for spontaneous adventures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OpeQh1t8rRBU5CGJ" /><figcaption>Screenshot of the Plan feature with the Google Maps embedded</figcaption></figure><p>With the plan ready, I would then use the <strong>Share</strong> feature to export it as a single iCalendar file for ease of adding the plan activities to my calendar and/or sharing the file with others as needed to keep all attendees’ calendars in-synch. As to operating hours and/or entrance requirements for any activities, you will want to double-check prior to committing to your plans.</p><p>Overall, I highly recommend <a href="https://fundayplan.com/"><strong>fundayplan.com</strong></a> to anyone looking to spice up their social calendar or find new activities to enjoy. It’s a fantastic resource that takes the stress out of planning and helps create memorable experiences!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8fc9b6a9d42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is a Passive Income Stream?]]></title>
            <link>https://medium.com/@ivan.mercedes/what-is-a-passive-income-stream-4b0bacd05e4c?source=rss-433e4b52a556------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b0bacd05e4c</guid>
            <category><![CDATA[passive-income]]></category>
            <category><![CDATA[passive-income-streams]]></category>
            <category><![CDATA[passive-income-in-2024]]></category>
            <dc:creator><![CDATA[Ivan Mercedes]]></dc:creator>
            <pubDate>Sat, 22 Jun 2024 19:11:34 GMT</pubDate>
            <atom:updated>2024-06-22T19:12:00.084Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yHH7-UDV2OKBrSCK" /><figcaption>Photo by <a href="https://unsplash.com/@sharonmccutcheon?utm_source=medium&amp;utm_medium=referral">Alexander Grey</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Recently, the thought of setting up a passive income stream has been top of mind. The idea that I could make money while sleeping sounds exciting. I realized however, once you start dig into these topics, there is a significant amount of noise on the subject.</p><p>One of my first stops to help eliminate the noise was a YouTube video by the account <strong>Two Cents </strong>— <a href="https://www.youtube.com/watch?v=7tC-wtMokDI">https://www.youtube.com/watch?v=7tC-wtMokDI</a>. It helped me gain a better understanding of what passive income is and it helped me get started down a path of rethinking my approach.</p><p>So, what is passive income? To understand what is passive income, let’s first discuss what is NOT passive income.</p><p>Online content creator and influencer may be the modern go-to roles when considering a passive income strategy. However, how the content is created, delivered and consumed matters as often with content creators, the amount and frequency of the income stream is directly related to the amount and frequency of the content stream; in other words, the money stops coming in when the content stops going out. As the video notes:</p><blockquote>How often do you see even the most successful make a video about how burned out they are?</blockquote><p>This alone makes content creation and influencer roles align more with active income streams.</p><p>Along the same lines are activities that line up with trading “hours for dollars”, including working for an hourly or salary wage or building a product or service to sell, even at scale.</p><h3>Understanding Passive Income</h3><p><a href="https://en.wikipedia.org/wiki/passive_income">Passive income</a> is money earned with little or no ongoing effort. It is different from investments that grow in value and involves options that do not require direct trading of time and effort. It often involves a significant amount of investment in resources like time and money, but over a length of time, produces a stream of income with either no effort or a reduced amount of effort to maintain.</p><h3>Creating Passive Income</h3><p>Specialized skills, talents, or training can be used to create content like <a href="https://en.wikipedia.org/wiki/online_course">online courses</a>, books, music, blogs, or <a href="https://en.wikipedia.org/wiki/intellectual_property">intellectual property</a>; for example, creating a set of training courses for Udemy or writing a number of Kindle books. Artificial Intelligence, or AI, is rapidly creating markets for passive income streams and this too requires a close attention as the state of the technology and its adoption is a bit of a “wild west” at the moment.</p><p>Starting a business that eventually runs itself is another option, but it requires significant effort and skill to make it successful, which often makes this strategy fall out of the realm of passive income for a majority of business owners.</p><h3>Investments and Securities as Passive Income</h3><p>Defined Benefit Plans, also known as pensions, provide a guaranteed payout over time. However, pensions are becoming less common in the private sector.</p><p>Annuities offer a guaranteed payout but come with high fees and specific requirements.</p><p>Stocks that pay dividends, bonds, and mutual funds can provide income outside of retirement accounts. However, the yield from these investments typically ranges from 2% to 5%, requiring a substantial investment to generate significant <a href="https://en.wikipedia.org/wiki/passive_income">passive income</a>.</p><p>Highly recommend speaking with a qualified financial advisor for valid options.</p><h3>Investing in Rental Properties</h3><p>Rental properties can be a good long-term investment for building equity. However, they require significant overhead costs such as repairs, property taxes, and insurance.</p><p>In the end, investing in rental properties may not be as passive a strategy as many envision, and so rental properties are not effortless cash generators as some may claim.</p><p>So what is a passive income stream? While there are various options available, most require time, effort, and patience to build a substantial <a href="https://en.wikipedia.org/wiki/passive_income">passive income</a> stream.</p><p>Not gonna lie, the lines do appear a bit blurry at the moment, but in the end, I think I’ll know it when the income stream is significantly larger than the amount of active effort required to keep the stream going.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b0bacd05e4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup SonarQube in a Docker Lab Environment for a DevOps Pipeline]]></title>
            <link>https://medium.com/@ivan.mercedes/setup-sonarqube-in-a-docker-lab-environment-for-a-devops-pipeline-cd288505faaf?source=rss-433e4b52a556------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd288505faaf</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[sonarqube]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ivan Mercedes]]></dc:creator>
            <pubDate>Sat, 25 Mar 2023 20:45:02 GMT</pubDate>
            <atom:updated>2023-03-25T20:45:02.246Z</atom:updated>
            <content:encoded><![CDATA[<h4>Install SonarQube in a Docker Desktop-driven lab environment and prepare it for scanning your source code through Jenkins pipeline builds</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rDhr7Pe8CVL80-cr6XLstQ.jpeg" /><figcaption>Photo by <a href="https://getrefe.tumblr.com/">Getrefe</a> from <a href="https://www.tumblr.com/">Tumblr</a></figcaption></figure><p>SonarQube serves a critical role in a software development team that puts a premium on code quality. It provides static scanning of application source code to identify code smells, code duplication, code complexity and other anti-patterns that often plague difficult to maintain code. Given the added cost of maintainability, these useful insights can help save time and money for software projects of any shape and size.</p><p>If you ever wanted to set up SonarQube in your lab environment to play with and learn, this guide provides a set of simple steps to quickly get up and running.</p><p>This guide continues from <a href="https://medium.com/@ivan.mercedes/using-docker-as-a-low-cost-devops-paradise-for-software-development-2354bfe5976d">Using Docker as a Low-Cost DevOps Paradise for Software Development</a>. Follow the previous guide and once the Docker container named ‘sonarqube’ is running, open a web browser at localhost:9000; alternatively, the computer name or IP address can be used instead of ‘localhost’ when connecting to the instance from across the network.</p><p>Login to the system using “admin” for both username and password. Upon first login, you will be prompted to change the password.</p><p>The next step is the “How do you want to create your project?” screen. While there are many options to configure your instance, including integration with Azure DevOps, Bitbucket and GitHub, we will select the “Manually” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*mixuas5gYYNqyEhFdosw4Q.png" /></figure><p>Next, create the project. Provide a project name and key, and identify the name of the default branch of your project in the source code repository. We will use Reactivities, an example C# and React application on <a href="https://github.com/Draghonite/reactivities">GitHub</a>, but feel free to substitute with your application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*jGfYLFVoOzPtZikvSU9mJA.png" /></figure><p>Next, indicate how you intend to analyze the code repository on the “How do you want to analyze your repository?” screen. Choose “Locally”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*amA9aH1cehTiGebrNp1hNA.png" /></figure><p>Next, generate a token for the project. This will be used by the pipeline to request analysis of the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*lbytYLzbpuBeMXhgIoGGWw.png" /></figure><p>As noted, this token is specific to the project. Alternatively consider creating a global token as indicated on the screen via the “user account” link; name the token accordingly (e.g. “GlobalToken”). Click Generate. The token value is generated and displayed on-screen; make sure to copy and save it for later before clicking “Continue”. If you need to revoke and/or generate a new token, you can always do so from the My Account option under the user name, and select the Security tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/1*tiOJ6ndjNL1tgVir6mnG_w.png" /></figure><p>That is all the configuration we need for now. Stay tuned for other guides, where we will resume the configuration for scanning the source code, initiated through a pipeline.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd288505faaf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup Artifactory in a Docker Lab Environment for a DevOps Pipeline]]></title>
            <link>https://medium.com/@ivan.mercedes/setup-artifactory-in-a-docker-lab-environment-for-a-devops-pipeline-8df35e9b4771?source=rss-433e4b52a556------2</link>
            <guid isPermaLink="false">https://medium.com/p/8df35e9b4771</guid>
            <category><![CDATA[artifactory]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ivan Mercedes]]></dc:creator>
            <pubDate>Fri, 17 Mar 2023 23:35:24 GMT</pubDate>
            <atom:updated>2023-03-17T23:35:24.505Z</atom:updated>
            <content:encoded><![CDATA[<h4>Install JFrog Artifactory in a Docker Desktop-driven lab environment and prepare it for managing artifacts from Jenkins pipeline builds</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wV0ZQqz_-rBw3ewFebFBtQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@kmuza?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Carlos Muza</a> on <a href="https://unsplash.com/photos/hpjSkU2UYSU?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>JFrog Artifactory provides a powerful ecosystem for managing build artifacts. There are many benefits to including an artifact management system to your DevOps process, including archival of the deployment resources for a specific build, the ability to verify the integrity of the deployment resources and the ability to securely deploy and redeploy a specific version of your application.</p><p>If you ever wanted to set up Artifactory in your lab environment to play with and learn, this guide provides a set of simple steps to quickly get up and running.</p><p>This guide continues from <a href="https://medium.com/@ivan.mercedes/using-docker-as-a-low-cost-devops-paradise-for-software-development-2354bfe5976d">Using Docker as a Low-Cost DevOps Paradise for Software Development</a>. Follow the previous guide and once the Docker container named ‘artifactory’ is running, open a web browser at localhost:8081; alternatively, the computer name or IP address can be used instead of ‘localhost’, useful when connecting to the instance from across the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2KBs6HJD7SmdOz6M" /></figure><p>For the initial login, use Username ‘admin’ and Password ‘password’. It’s recommended to change the password under Admin &gt; Security &gt; Users &gt; admin; you will also need to provide an email address.</p><p>Additionally, it’s recommended that a new user be created specifically for integration with your DevOps pipeline. For this:</p><ol><li>Go to Admin &gt; Security &gt; Users</li><li>Click New</li><li>Name the user ‘jenkins-user’</li><li>Provide a password</li><li>To simplify configuration, make the user an admin by checking the ‘Admin’ box</li><li>Click ‘Save’</li></ol><p>The remaining default configuration will suffice for now. We will leverage the default repositories — namely the ‘libs-release-local’ in other guides, therefore no additional configuration is necessary. Enjoy your new setup and see you in the rest of the series as we build out a personal Docker DevOps paradise.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8df35e9b4771" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Docker as a Low-Cost DevOps Paradise for Software Development]]></title>
            <link>https://medium.com/@ivan.mercedes/using-docker-as-a-low-cost-devops-paradise-for-software-development-2354bfe5976d?source=rss-433e4b52a556------2</link>
            <guid isPermaLink="false">https://medium.com/p/2354bfe5976d</guid>
            <category><![CDATA[artifactory]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[sonarqube]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Ivan Mercedes]]></dc:creator>
            <pubDate>Sun, 12 Mar 2023 06:24:33 GMT</pubDate>
            <atom:updated>2023-03-12T06:24:33.079Z</atom:updated>
            <content:encoded><![CDATA[<h4>Build a low-cost, self-hosted software development lab environment for a single-user and up to a small team for non-production workloads</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EO-m2R_QUK0uP3qi.jpg" /><figcaption>Photo by <a href="https://getrefe.tumblr.com/">Getrefe</a> from <a href="https://www.tumblr.com/">Tumblr</a></figcaption></figure><p>As a software developer looking to dive into the world of DevOps, identifying a good starting point for your journey may seem like a daunting task, and Docker Desktop may just be the perfect partner when combined with other tools that are also free to start.</p><p>There are many tools to choose from when setting up a DevOps environment. In this guide, we will focus on just a few, each with its own added value; these include <a href="https://www.sonarsource.com/products/sonarqube/">SonarQube</a>, <a href="https://jfrog.com/artifactory/">Artifactory</a> and <a href="https://www.jenkins.io/">Jenkins</a>, aside from <a href="https://www.docker.com/products/docker-desktop/">Docker Desktop</a>, of course.</p><p>It is important to note that while this environment may be suitable for a single developer and up to a small team of developers, it is not recommended as-is for a production setup.</p><h3>Assumptions</h3><p>In order to follow this guide, the following prerequisites are assumed:</p><ul><li><a href="https://www.docker.com/products/docker-desktop/"><strong>Docker Desktop</strong></a><strong> is installed</strong> — required; follow the appropriate process for your environment.</li><li><strong>An Integrated Development Environment (IDE) is installed </strong>— optional; <a href="https://code.visualstudio.com/">Visual Studio Code</a> is highly recommended, although any text editor can be used.</li><li><strong>A modern computer with “adequate” specifications </strong>— mileage will vary depending on the specifications of the system used for hosting the Docker containers, but rest assured that the setup runs well on a 2021 Apple M1 MacBook Pro. Note that the operating system used will dictate the format of file paths used in this guide and other line-ending concerns in the commands provided; update these accordingly.</li><li><strong>Terminal/Console window</strong> — depending on your system, use a Command (Windows) or Terminal (Linux/Mac) window; alternatively, use Visual Studio’s built-in Terminal feature. This will be used for running all the commands in this guide. All commands and files are expected to run from the path of your choice.</li></ul><h3>Steps</h3><p>The following steps will be delved into:</p><ol><li>Create a Docker Network</li><li>Create a Docker-in-Docker Container for Jenkins Builds</li><li>Create a Docker Container for the Jenkins Controller</li><li>Create a Docker Container for Sonarqube</li><li>Create a Docker Container for Artifactory</li><li>Test the New Containers</li></ol><h3>Step 1 — Create a Docker Network</h3><p>Run the following command to create a shared network in Docker we will call “jenkins”, to be referenced later. This will be key in allowing communication between the different Docker containers.</p><pre>docker network create jenkins</pre><h3>Step 2 — Create a Docker-in-Docker Container for Jenkins Builds</h3><p>Run the following command to set up a separate Docker container to serve as a dedicated Jenkins Build Agent. Note the additional, optional ports open, including 3000 and 5000.</p><pre>docker run \<br> — name jenkins-docker \<br> — rm \<br> — detach \<br> — privileged \<br> — network jenkins \<br> — network-alias docker \<br> — env DOCKER_TLS_CERTDIR=/certs \<br> — volume jenkins-docker-certs:/certs/client \<br> — volume jenkins-data:/var/jenkins_home \<br> — publish 2376:2376 \<br> — publish 3000:3000 \<br> — publish 5000:5000 \<br> docker:dind \<br> — storage-driver overlay2</pre><h3>Step 3 — Create a Docker Container for the Jenkins Controller</h3><p>Create a “jenkins-plugins” file with the following source; this will be used later.</p><pre>workflow-aggregator<br>git<br>ssh<br>ssh-agent<br>docker-plugin<br>docker-build-step<br>dockerhub-notification<br>docker-workflow<br>oauth-credentials<br>pipeline-stage-view<br>blueocean<br>blueocean-web<br>sonar</pre><p>Create a “Dockerfile” with the following contents.</p><pre>FROM jenkins/jenkins:2.375.3<br>USER root<br><br>RUN apt-get update &amp;&amp; apt-get install -y lsb-release<br><br>RUN curl -fsSLo /usr/share/keyrings/docker-archive-keyring.asc \<br> https://download.docker.com/linux/debian/gpg<br><br>RUN echo &quot;deb [arch=$(dpkg --print-architecture) \<br> signed-by=/usr/share/keyrings/docker-archive-keyring.asc] \<br> https://download.docker.com/linux/debian \<br> $(lsb_release -cs) stable&quot; &gt; /etc/apt/sources.list.d/docker.list<br><br>RUN apt-get update &amp;&amp; apt-get install -y docker-ce-cli<br><br>COPY ./jenkins-plugins /usr/share/jenkins/plugins.txt<br>RUN jenkins-plugin-cli -f /usr/share/jenkins/plugins.txt<br><br>RUN ssh-keygen -f /root/.ssh/id_rsa -t rsa -N &#39;&#39;<br><br>ENV JAVA_OPTS -Djenkins.install.runSetupWizard=false<br><br>EXPOSE 8080<br>EXPOSE 50000<br><br>VOLUME [ &quot;/var/jenkins_home&quot; ]</pre><p>Run the following command to build and run the Docker container for the Jenkins Controller. Note use of a specific Jenkins BlueOcean Docker image.</p><pre>docker build -t myjenkins-blueocean:2.375.3 .<br><br>docker run \<br> - name jenkins-blueocean \<br> - detach \<br> - network jenkins \<br> - env DOCKER_HOST=tcp://docker:2376 \<br> - env DOCKER_CERT_PATH=/certs/client \<br> - env DOCKER_TLS_VERIFY=1 \<br> - publish 8080:8080 \<br> - publish 50000:50000 \<br> - volume jenkins-data:/var/jenkins_home \<br> - volume jenkins-docker-certs:/certs/client:ro \<br> - restart=on-failure \<br> - env JAVA_OPTS=&quot;-Dhudson.plugins.git.GitSCM.ALLOW_LOCAL_CHECKOUT=true&quot; \<br> myjenkins-blueocean:2.375.3</pre><h3>Step 4 — Create a Docker Container for Sonarqube</h3><p>Use the following command to run the Sonarqube Docker container using the latest Docker image.</p><pre>docker run -d — name sonarqube — network jenkins \<br>-e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:latest</pre><h3>Step 5 — Create a Docker Container for Artifactory</h3><p>Use the following command to run the Artifactory Docker container using a specific JFrog Artifactory Open Source Solutions (OSS) Docker image.</p><pre>docker run -d — name artifactory — network jenkins \<br>-p 8081:8081 jfrog-docker-reg2.bintray.io/jfrog/artifactory-oss:4.1.0</pre><h3>Step 6 — Test the New Containers</h3><p>Ensure the new Docker containers are up and running. The desired outcome in Docker Desktop is as pictured, depicting 4 new Docker containers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Vod0UfXbk30-Sin7" /></figure><p>To test access to each of the containers (except for the Jenkins Build Agent named “jenkins-docker”), visit the port of each container using a web browser, assuming localhost but can be updated as per your configuration:</p><ul><li>Jenkins Controller (jenkins-blueocean) — <a href="http://localhost:8080/">http://localhost:8080/</a></li><li>Sonarqube (sonarqube) — <a href="http://localhost:9000/">http://localhost:9000/</a></li><li>Artifactory (artifactory) — <a href="http://localhost:8081/">http://localhost:8081/</a></li></ul><h3>Conclusion</h3><p>If you have followed along, congratulations setting up your very own Docker Desktop software development paradise. As an important reminder, this environment as documented in this guide lacks the configuration necessary for resiliency and security, among many other attributes critical for production workloads. Setup of each environment is beyond the scope of this guide, but stay tuned for additional guidance on leveraging this environment for your day-to-day development and to build upon for automated build and deployment.</p><p>View the full source code on <a href="https://github.com/Draghonite/docker-dev-pipeline">GitHub</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2354bfe5976d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>