docker update --memory "1g" --cpuset-cpu "1" <RunningContainerNameOrID>
this will update the "RunningContainerNameOrId" to use 1g of memory and only use cpu core 1
To up date all running containers to use core 1 and 1g of memory:
docker update --cpuset-cpus "1" --memory "1g" $(docker ps | awk 'NR>1 {print $1}')