title: Docker Container and Third Party Integrations?
body: <p>I am a newbie to Docker &amp; microservices, and trying to breakdown current monolithic services into smaller microservices using Docker containers. Idea is to logically divide monoliths into smaller independent modules as microservices and place each into separate Docker containers and manage it via Kubernetes for scaling.</p>
  
  <p>Caveat is these services are either connected to third parties via REST or to mission critical voluminous databases. These dont have any local DB with them so  i can't have any local microservice DB in bounded context.</p>
  
  <p>I am trying to figure out best approach for refactoring</p>
  
  <ul>
  <li><p>One approach i am thinking is to place DB connection code into separate container and call it from other containers. </p></li>
  <li><p>Similarly place third party REST integration logic in a single container and call it from other containers.</p></li>
  </ul>
  
  <p>Questions:</p>
  
  <ol>
  <li>Can i have a microservice without a database attached to it?</li>
  <li>Can i have containerized code as mentioned above and still be qualified
  for microservice?</li>
  <li>Can a microservice be used barely for integration?</li>
  <li>Does using docker containers qualify for this scenario?</li>
  </ol>