<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pull(image, tag=None):
 """ pull a docker image """

    if tag:
        image = ":".join([image, tag])

    utils.xrun("docker pull", [image])