title: How to run an iptables command for docker for windows when using WSL2
body: <p>I am running Ubuntu 20.04 on WSL 2 along with docker desktop (2.3.0.5) for Windows.</p>
  <p>Docker desktop has been setup so that I can access the docker daemon from my Ubuntu shell.</p>
  <p>I would like to run the command (see <a href="https://stackoverflow.com/a/64094354/5108875">this question</a> for motivation for running the command):</p>
  <pre class="lang-sh prettyprint-override"><code>sudo iptables -I DOCKER-USER -j DROP
  </code></pre>
  <p>but when I do I get the error:
  <code>iptables: No chain/target/match by that name.</code></p>
  <p>According to the <a href="https://docs.docker.com/network/iptables/" rel="nofollow noreferrer">docker documentation</a>: &quot;Docker installs two custom iptables chains named DOCKER-USER and DOCKER, and it ensures that incoming packets are always checked by these two chains first.&quot;</p>
  <p>How can I apply this iptable rule to the docker desktop installation on windows?</p>