I'm running my redis server on a docker container hosted on my local windows machine, but i am unable to store data because of this warning
WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
is there a way i can enable this?
version: '3'
services:
redis:
image: "redis"
ports:
- "6379:6379"
networks:
- my-service
networks:
my-service:
external: true