scope conditions for api remove()
fix container_id scoping for api create()