title: Login to container database
body: <p>my problem is that I have to start quiz hidden under this:</p>
  <p>&quot;docker run -d --cap-add=NET_ADMIN -p 80:80 -p 8080:8080 -p 8090:8090 sofomo/devopstest:latest&quot;</p>
  <p>Trouble is in getting it to work. I am running docker container on ubuntu VM and want to access it on Windows machine.
  I have setup docker, container is running. All is fine. Except I foud out that in index file it has written:</p>
  <p>1./www # cat index.php</p>
  <p>2.&lt;?php</p>
  <p>3.$servername = &quot;localhost&quot;;</p>
  <p>4.$username = &quot;sofomo&quot;;</p>
  <p>5.$password = &quot;sofomo&quot;;</p>
  <p>6.$dbname = &quot;sofomo&quot;;&quot;</p>
  <p>and while I try to login to it (in Windows via bridged port) it says:
  &quot;Something is wrong, get into the docker container and find a way how to fix it...&quot;
  So it seems to me that I need to setup username and password to make it work.
  I have tried to cat the index file and to vim chcage it. I cannot install anything in thos container.</p>
  <p>How to do it?</p>