Skip to content

Quick Start Hello World Application cannot build/find container #837

@SCalwas

Description

@SCalwas

Description:

Running the Quick Start Hello World Application described at https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-quick-start.html raises a RuntimeError.

Steps to reproduce the issue:

  1. Install Docker for Windows using default settings
  2. Install SAM CLI version 0.8.1
  3. Follow Quick Start Hello World Application, including commands "sam init --runtime python3.7" and "cd sam-app"
  4. Run "sam build --use-container" raises RuntimeError

Observed result:
Relevant command output:
Fetching lambci/lambda:build-python3.7 Docker container image.............
2018-12-05 19:07:12 Mounting C:\PythonCode\sampoc\sam-app\hello_world as /tmp/samcli/source:ro inside runtime container
Traceback ....
File "C:\Users\scalwas\AppData\Roaming\Python\Python37\site-packages\samcli\local\docker\container.py", line 195, in wait_for_logs
raise RuntimeError ("Container does not exist. Cannot get logs for this container")

Expected result:
Expected the result described in the Quick Start instructions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions