title: How to convert a docker run -it bash command into a docker-compose?
body: <p>Given the following command:</p>
  
  <pre><code>docker run -dit -p 9080:9080 -p 9443:9443 -p 2809:2809 -p 9043:9043 --name container_name --net=host myimage:latest bash
  </code></pre>
  
  <p>How to convert it into an equivalent docker-compose.yml file?</p>