Docker for mac configure swap space

@ramonpires thanks a lot, now it works!:wink:

Just to summarize for the others, the solution in my case was the following:

screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
dd if=/dev/zero of=/var/swap.file count=2000000 bs=1024
chmod go= /var/swap.file
mkswap /var/swap.file
echo “/var/swap.file swap swap defaults 0 0” >> /etc/fstab
swapon -a