I am trying to run a windows background process in docker. The process is very memory intensive, and I am still developing it. How can I increase the memory of my container? I am continuously getting out of memory exceptions.
I am using Visual Studio 2017 and cannot find a way in the docker-compose file to specify memory settings.
version: '3.4'
services:
topshelfcws:
image: ${DOCKER_REGISTRY}topshelfcws
build:
context: .\TopShelfCWS
dockerfile: Dockerfile
deploy:
resources:
limits:
memory: 4GB
seems to have no effect
After further investigation, seems this is outputted from VS upon running docker-compose
Some services (topshelfcws) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use docker stack deploy
to deploy to a swarm.