title: How can increase the terminal's window size when connecting to a docker through PuTTY+SSH?
body: <p>I have a docker container running on a Ubuntu server, which I connect to from a computer running Microsoft Windows. To connect to the docker container, I:</p>
  
  <ol>
  <li>SSH into the Ubuntu server through PuTTY.</li>
  <li>I run <code>command docker exec -it CONTAINER_NAME /bin/bash</code></li>
  </ol>
  
  <p>Once in the docker container, some programs such as nano, top or ncdu only uses a very small window size, e.g.:</p>
  
  <p><a href="https://i.stack.imgur.com/6t4My.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6t4My.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Ab7gy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ab7gy.png" alt="enter image description here"></a></p>
  
  <p>How can increase the terminal's window size when connecting to a docker through PuTTY+SSH? I want to increase the number of visible rows and columns.</p>