Record the entity attached to a container