add memory limit
update docker-api, add memory_swap