Pull the Docker image and creates a container
    with a '/backup' volume. This volume will be mounted
    on the temporary workdir previously created.

    It will then start the container and return the container object.

def run_container(docker_client, backup_data):
    """Pull the Docker image and creates a container
    with a '/backup' volume. This volume will be mounted
    on the temporary workdir previously created.

    It will then start the container and return the container object.
    """
    docker_client.pull(backup_data['image'])
    container = docker_client.create_container(
        image=backup_data['image'],
        volumes=['/backup'],
        command=backup_data['command'])

    docker_client.start(container.get('Id'), binds={
        backup_data['workdir']:
        {
            'bind': '/backup',
            'ro': False
        }
    })
    return container