How do you edit Memcached settings?

I have two containers, one is web, the other is the alpine version of Memcached (figured out that I just needed Memcached, nothing more). web and memcached are linked together, and it’s working. Only, I need to change some configuration lines, such as:

memcached.sess_connect_timeout => 1000 => 1000
memcached.sess_number_of_replicas => 0 => 0

And a few others. I didn’t find anything on the Docker registry excepted how to change the memory, which doesn’t help me. The file is supposed to be in /etc/memcached.conf, but when I login, I do as memcached so I have no right, which is normal.

How do I do that?

Thank you in advance