Thread
#general
    c

    colossal-river-93017

    6 months ago
    👋 Hi everyone! got this error trying to run
    pulumi up
    error: Program failed with an unhandled exception:
    error: Traceback (most recent call last):
        File "~/.pulumi/bin/pulumi-language-python-exec", line 107, in <module>
        loop.run_until_complete(coro)
        File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
        return future.result()
        File "~/project/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 126, in run_in_stack
        await run_pulumi_func(lambda: Stack(func))
        File "~/project/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 51, in run_pulumi_func
        await wait_for_rpcs()
        File "~/project/venv/lib/python3.8/site-packages/pulumi/runtime/stack.py", line 110, in wait_for_rpcs
        raise exception
        File "~/project/venv/lib/python3.8/site-packages/pulumi/output.py", line 169, in run
        value = await self._future
        File "~/project/venv/lib/python3.8/site-packages/pulumi/output.py", line 169, in run
        value = await self._future
        File "~/project/venv/lib/python3.8/site-packages/pulumi/output.py", line 194, in run
        transformed: Input[U] = func(value)
        File "~/project/venv/lib/python3.8/site-packages/pulumi_docker/image.py", line 254, in <lambda>
        lambda args: get_image_data(_ImageArgs(*args))
        File "~/project/venv/lib/python3.8/site-packages/pulumi_docker/image.py", line 231, in get_image_data
        unique_target_name = build_and_push_image(
        File "~/project/venv/lib/python3.8/site-packages/pulumi_docker/docker.py", line 243, in build_and_push_image
        build_result = build_image(base_image_name, path_or_build, log_resource, cache_from)
        File "~/project/venv/lib/python3.8/site-packages/pulumi_docker/docker.py", line 437, in build_image
        docker_build(image_name, build, log_resource, cache_from)
        File "~/project/venv/lib/python3.8/site-packages/pulumi_docker/docker.py", line 491, in docker_build
        return run_command_that_must_succeed("docker", build_args, log_resource, env=build.env)
        File "~/project/venv/lib/python3.8/site-packages/pulumi_docker/docker.py", line 608, in run_command_that_must_succeed
        raise ResourceError(
    pulumi_docker.docker.ResourceError: 'docker build -t backend:dev ~/project/app/backend' failed with exit code 1
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
    w

    witty-candle-66007

    6 months ago
    Is docker installed/running on your workstation? The error seems to indicate some issue using docker locally to build the image.