docker - write pipe: bad file descriptor
<p>I have installed docker.io in ubuntu. When I am trying to build any docker container I am ending with an error <strong>write pipe: bad file descriptor</strong></p>

<p>These are the commands I executed</p>

<p><code>docker run nginx</code></p>

<pre><code>docker run hello-world
</code></pre>

<p><strong>docker version</strong></p>

<p><a href="https://i.stack.imgur.com/FkRAp.png" rel="nofollow"><img src="https://i.stack.imgur.com/FkRAp.png" alt="enter image description here"></a></p>

<p><strong>docker info</strong>
<a href="https://i.stack.imgur.com/n3Sec.png" rel="nofollow"><img src="https://i.stack.imgur.com/n3Sec.png" alt="enter image description here"></a></p>

<p><strong>docker images</strong><a href="https://i.stack.imgur.com/m6rDZ.png" rel="nofollow"><img src="https://i.stack.imgur.com/m6rDZ.png" alt="strong text"></a></p>

<p>Any ideas to solve this issue ?</p>