我在 EC2 中有一个 docker swarm CE 设置。我有两个节点。1名经理和1名工人。主机实例类型是 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
〜$
现在当我登录容器时,
~ $ 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 /]#
请帮助我如何清除缓冲区/缓存或缓存?