title: Increase memory of Docker container with docker-compose on Windows?
body: <p>On Docker for Windows, I have a simple SQL Server container based on <code>microsoft/mssql-server-windows-developer</code> that is launched with <code>docker-compose up</code> via a simple <code>docker-compose.yaml</code> file.</p>
  
  <p>Is there a way to allocate more than 1GB of memory to this container? I can do it when running the image directly or when I build my image with <code>-m 4GB</code>, but I can't figure out how to do this when using Docker Compose. This container needs more than 1GB of RAM to run properly and all of my research has revealed nothing helpful thus far.</p>
  
  <p>I've looked into the <a href="https://docs.docker.com/compose/compose-file/#resources" rel="noreferrer">resources</a> configuration option, but that only applies when running under Docker Swarm, which I don't need.</p>