<?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: shutx</title>
    <description>The latest articles on DEV Community by shutx (@shutx-net).</description>
    <link>https://dev.to/shutx-net</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4011888%2F771d51f5-c40b-4089-a349-dcee5fc9ed37.jpg</url>
      <title>DEV Community: shutx</title>
      <link>https://dev.to/shutx-net</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shutx-net"/>
    <language>en</language>
    <item>
      <title>I built devcx to stop typing --config for Dev Containers</title>
      <dc:creator>shutx</dc:creator>
      <pubDate>Thu, 02 Jul 2026 07:47:24 +0000</pubDate>
      <link>https://dev.to/shutx-net/i-built-devcx-to-stop-typing-config-for-dev-containers-2538</link>
      <guid>https://dev.to/shutx-net/i-built-devcx-to-stop-typing-config-for-dev-containers-2538</guid>
      <description>&lt;p&gt;I often work in repositories with multiple Dev Container configurations.&lt;/p&gt;

&lt;p&gt;The usual command gets repetitive pretty quickly:&lt;/p&gt;

&lt;p&gt;devcontainer up \&lt;br&gt;
  --workspace-folder . \&lt;br&gt;
  --config .devcontainer/ansible/devcontainer.json&lt;/p&gt;

&lt;p&gt;So I built devcx, a small wrapper around the Dev Container CLI.&lt;/p&gt;

&lt;p&gt;It discovers devcontainer.json files in your workspace, lets you pick one once, caches the choice per workspace, and then wraps devcontainer up / devcontainer exec with the right --workspace-folder and --config arguments.&lt;/p&gt;

&lt;p&gt;After selecting a config, you can run:&lt;/p&gt;

&lt;p&gt;devcx up&lt;br&gt;
devcx exec bash&lt;br&gt;
devcx select&lt;br&gt;
devcx which&lt;/p&gt;

&lt;p&gt;There is also a dry-run mode if you want to see the underlying command:&lt;/p&gt;

&lt;p&gt;devcx up --dry-run&lt;/p&gt;

&lt;p&gt;It is written in Rust, distributed as a single binary, and released under Apache-2.0.&lt;/p&gt;

&lt;p&gt;GitHub:&lt;br&gt;
&lt;a href="https://github.com/shutx-net/devcx" rel="noopener noreferrer"&gt;https://github.com/shutx-net/devcx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would be interested to hear whether others use multiple Dev Container configs in one repository, or if there is a better workflow I missed.&lt;/p&gt;

</description>
      <category>docker</category>
      <category>devcontainer</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
