如何清除docker容器内的caching内存

我在EC2中有一个docker swarm CE设置。 我有两个节点。 1名经理和1名工人。 主机实例types是Alpine Linux。

在Manager主机中,内存使用情况是:

~ $ free -m total used free shared buffers cached Mem: 7972 4996 2975 715 178 2857 -/+ buffers/cache: 1960 6011 Swap: 0 0 0 

〜$

现在当我login容器时,

 ~ $ docker exec -it c7cc255aca1f /bin/bash [root@c7cc255aca1f /]# And see the memory utilization: [root@c7cc255aca1f /]# free -m total used free shared buff/cache available Mem: 7972 1654 2970 715 3347 5269 Swap: 0 0 0 [root@c7cc255aca1f /]# 

请帮助我如何清除缓冲区/caching或caching?