title: Dotnet Core docker cmd args
body: <p>Trying to access the command line args from a dotnet core console application in docker. </p>
  
  <p>This is basically just the default template with default docker compose / dockerfile template. </p>
  
  <p>Tried a few different approaches.</p>
  
  <ul>
  <li>Add args to ENTRYPOINT in dockerfile</li>
  <li>Added args to CMD in dockerfile</li>
  <li>Added args under build in the docker-compose file</li>
  </ul>
  
  <p>Cant get it to pass it on, how is this usually handled?</p>
  
  <p>Test repo: <a href="https://github.com/lasrol/DotnetCoreDockerArgs" rel="nofollow noreferrer">https://github.com/lasrol/DotnetCoreDockerArgs</a></p>