<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Dev-Containers on stuartleeks.com</title>
    <link>https://stuartleeks.com/tags/dev-containers/</link>
    <description>Recent content in Dev-Containers on stuartleeks.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 27 Aug 2022 21:45:01 +0100</lastBuildDate>
    <atom:link href="https://stuartleeks.com/tags/dev-containers/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>dotfiles tools wrappers</title>
      <link>https://stuartleeks.com/posts/dotfiles-tools-wrappers/</link>
      <pubDate>Sat, 27 Aug 2022 21:45:01 +0100</pubDate>
      <guid>https://stuartleeks.com/posts/dotfiles-tools-wrappers/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m a self-confessed fan of Visual Studio Code&amp;rsquo;s &lt;a href=&#34;https://code.visualstudio.com/docs/remote/containers&#34;&gt;dev container&lt;/a&gt; experience and have a &lt;a href=&#34;https://stuartleeks.com/tags/dev-containers/&#34;&gt;number of posts about them&lt;/a&gt; including a &lt;a href=&#34;https://stuartleeks.com/posts/vscode-devcontainers/&#34;&gt;list of some of my favourite things with dev containers&lt;/a&gt;.&#xA;I find it productive to be able to capture the pre-requisites for working with a project programmatically, and share it with others working on the project.&#xA;However, there&amp;rsquo;s a feature of dev containers that I use heavily which has the potential to break this model: dotfiles.&lt;/p&gt;</description>
    </item>
    <item>
      <title>VS Code Dev Containers and Continuous Integration</title>
      <link>https://stuartleeks.com/posts/vscode-dev-containers-continuous-integration/</link>
      <pubDate>Thu, 08 Jul 2021 20:21:12 +0000</pubDate>
      <guid>https://stuartleeks.com/posts/vscode-dev-containers-continuous-integration/</guid>
      <description>&lt;h2 id=&#34;background&#34;&gt;Background&lt;/h2&gt;&#xA;&lt;p&gt;Visual Studio Code has a cool feature called &lt;a href=&#34;https://code.visualstudio.com/docs/remote/containers&#34;&gt;dev containers&lt;/a&gt; and I&amp;rsquo;ve &lt;a href=&#34;https://stuartleeks.com/tags/dev-containers/&#34;&gt;got a number of posts about them&lt;/a&gt; (and even included a chapter on them in my &lt;a href=&#34;https://wsl.tips/book&#34;&gt;book on Windows Subystem for Linux (WSL)&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;p&gt;Dev containers allow you to encapsulate the tools/dependencies that your project needs in a container image meaning you can replace the README steps for tool installation that you&amp;rsquo;d have to manually work through with a &lt;code&gt;Dockerfile&lt;/code&gt; that automates it. This makes it much quicker to onboard someone to your project, ensures consistent tooling across the team, and isolates tools in the container making it easier to work with different versions of tools across different projects.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Forwarding copy to clipboard from dev container to Windows Host</title>
      <link>https://stuartleeks.com/posts/vscode-devcontainer-clipboard-forwarding/</link>
      <pubDate>Wed, 17 Feb 2021 19:11:12 +0000</pubDate>
      <guid>https://stuartleeks.com/posts/vscode-devcontainer-clipboard-forwarding/</guid>
      <description>&lt;h2 id=&#34;background&#34;&gt;Background&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve mentioned &lt;a href=&#34;https://stuartleeks.com/posts/vscode-devcontainers/&#34;&gt;VS Code dev containers&lt;/a&gt; on this blog before and like &lt;a href=&#34;https://stuartleeks.com/posts/vscode-devcontainers-wsl/&#34;&gt;using them from WSL&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m also a fan of &lt;a href=&#34;https://github.com/lawrencegripper/azbrowse&#34;&gt;azbrowse&lt;/a&gt; for working with Azure resources from the terminal, and lately have found myself running azbrowse from within a dev container for various reasons.&lt;/p&gt;&#xA;&lt;p&gt;There are several features in azbrowse that copy data to the clipboard, and when run from WSL it detects that and copies to the Windows clipboard, which is convenient. When run from a dev container, the experience isn&amp;rsquo;t so good (a polite way of saying that it doesn&amp;rsquo;t work).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Visual Studio Code and Dev containers in the Windows Subsystem for Linux (WSL)</title>
      <link>https://stuartleeks.com/posts/vscode-devcontainers-wsl/</link>
      <pubDate>Wed, 01 Apr 2020 19:18:23 +0100</pubDate>
      <guid>https://stuartleeks.com/posts/vscode-devcontainers-wsl/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;UPDATE (2020-04-08): With the &lt;a href=&#34;https://code.visualstudio.com/updates/v1_44&#34;&gt;1.44 release&lt;/a&gt; of Visual Studio Code (and the corresponding &lt;a href=&#34;https://github.com/microsoft/vscode-docs/blob/master/remote-release-notes/v1_44.md&#34;&gt;Remote Containers release&lt;/a&gt;), the Insiders release is no longer needed as the . I have updated the post to reflect this (update made in vscode dev container on stable release 😁).&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;In my &lt;a href=&#34;https://stuartleeks.com/posts/vscode-devcontainers/&#34;&gt;previous post&lt;/a&gt; I gave some thoughts on using Visual Studio Code &lt;a href=&#34;https://code.visualstudio.com/docs/remote/containers&#34;&gt;dev containers&lt;/a&gt;. Until very recently your source code needed to be cloned in Windows in order to be able to build and run dev containers with Visual Studio Code. While this has still been a great experience overall, I have hit a few edge cases where being able to have my source code in Linux (under WSL) and then create a dev container from there would have been a big help.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Visual Studio Code and Dev Containers</title>
      <link>https://stuartleeks.com/posts/vscode-devcontainers/</link>
      <pubDate>Tue, 31 Mar 2020 20:45:01 +0100</pubDate>
      <guid>https://stuartleeks.com/posts/vscode-devcontainers/</guid>
      <description>&lt;p&gt;Visual Studio Code has support for &lt;a href=&#34;https://code.visualstudio.com/docs/remote&#34;&gt;Remote Development&lt;/a&gt; which is a really cool feature. You can &lt;a href=&#34;https://code.visualstudio.com/docs/remote/ssh&#34;&gt;connect to another machine via SSH&lt;/a&gt; and work with code there (the language services etc run remotely which is the really cool part!), &lt;a href=&#34;https://code.visualstudio.com/docs/remote/wsl&#34;&gt;connect to the Windows Subsystem for Linux&lt;/a&gt;, or run your &lt;a href=&#34;https://code.visualstudio.com/docs/remote/containers&#34;&gt;development environment in containers&lt;/a&gt; (aka dev containers). The last of these is the topic for this post.&lt;/p&gt;&#xA;&lt;p&gt;My team has been using dev containers quite heavily for the last few months and found a lot of benefits with them. They allow you to describe your development environment with a &lt;code&gt;Dockerfile&lt;/code&gt; and run your tools, terminal and debugger inside that container whilst keeping the editor UI local. This image from the &lt;a href=&#34;https://code.visualstudio.com/docs/remote/containers&#34;&gt;docs&lt;/a&gt; shows this split:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
