<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Using NCS Docker image with JLink</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126341/using-ncs-docker-image-with-jlink</link><description>Hi devzone, 
 I am starting to write some tests for my application, and I have a couple questions/remarks about the provided Docker image. Link to documentation . 
 1/ The first few tests I have written are done using the native_sim board. When I want</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Jan 2026 12:43:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126341/using-ncs-docker-image-with-jlink" /><item><title>RE: Using NCS Docker image with JLink</title><link>https://devzone.nordicsemi.com/thread/557813?ContentTypeID=1</link><pubDate>Fri, 02 Jan 2026 12:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c53ae9c4-ef2d-46c1-9843-3a33120545aa</guid><dc:creator>joh</dc:creator><description>&lt;p&gt;Hi Nicolas,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question 1: Compiling&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;You&amp;#39;re correct, `gcc` is not installed and thus native_sim targets won&amp;#39;t compile. When compiling against a non sim board (such as&amp;nbsp;nrf54lm20dk/nrf54lm20a/cpuapp), it works, because the zephyr-arm variant of GCC is installed at /opt/ncs/toolchains/f911d4f4e7/opt/zephyr-sdk/arm-zephyr-eabi/bin.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll let the relevant team know of this issue. At the moment, the best workaround, as you say, is probably to either&lt;br /&gt;&lt;br /&gt;A: Manually install gcc and gcc-multilib each time&lt;br /&gt;B: Create your own docker image based on&amp;nbsp;ghcr.io/nrfconnect/sdk-nrf-toolchain&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question 2: J-Link error&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This error is somewhat misleading. It&amp;#39;s able to install JLink and then complains it can&amp;#39;t reload the udev rules. Even though this error is printed, the JLink binaries are there and working (although the installation is in an error state). You can attempt this with `nrfutil device list` to see your connected devices. If JLink is not installed, it&amp;#39;ll also print a warning.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I think this is a bug, I&amp;#39;ll let the team know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>