add memory limit
update docker-api, add memory_swap
remove container
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  remove container
  update docker-api, add memory_swap
  add memory limit