Getting cannot allocate memory error on starting services using docker-compose


When we try to start services on docker using docker-compose we get cannot allocate memory error.

Error:- ERROR: for peer2 Cannot create container for service peer2: symlink /proc/mounts /xfs100/overlay/57bda64428473ed009a1ecf25ab0fa0af3c9ff7cf1c592570e5e3c4d93729e99-init/merged/etc/mtab: cannot allocate memory

Command:- docker-compose -f docker-compose.yaml up -d

docker version- 1.13.0

docker-compose version- 1.10.0

free memory available when the error occured.
[vajit@dockervm1 e2e_cli_v1]$ free
total used free shared buff/cache available
Mem: 3881960 1364616 563260 63568 1954084 2004460
Swap: 2097148 578812 1518336

Please provide your input.