Performing container operations using remote APIs