title: Wordpress (on Docker) - can't upload pictures on localhost (ubuntu)
body: <p>I managed to install wordpress with docker.</p>
  <p>I can see everything, do everything except I can't upload pictures (I can see the old ones).</p>
  <p>After I go to admin and try to upload a picture on the page I get the following error.</p>
  <pre><code>An error occurred in the upload. Please try again later.
  </code></pre>
  <p>I believe there is a problem with permissions. I tried to give 777 to wp-content file but its not working.</p>
  <p>This is my current setup:</p>
  <p><a href="https://i.stack.imgur.com/TDXwS.png" rel="nofollow noreferrer">Wp-Uploads1 - first screen</a></p>
  <p><a href="https://i.stack.imgur.com/gbZiX.png" rel="nofollow noreferrer">Wp-uploads2 - second screen</a></p>
  <p>Any help would be be appreciated.</p>
  <p>If I see in network the following error:</p>
  <pre><code>Failed to load resource: net::ERR_CONNECTION_REFUSED
  </code></pre>