Skip to content

skip using docker for lambda is not working #9852

@ViachaslauKabak

Description

@ViachaslauKabak

Hi
using the same config as we have in the ticket but using moto server v5.1.22 (still trying to apply aws instance scheduler stack to moto server).
#9701

only added following before tf apply:
options = {
"batch": {"use_docker": False},
"lambda": {"use_docker": False}
}
requests.post(f"http://localhost:5000/moto-api/config", json=options)

but when running apply i've got
error running docker: Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')
error running docker: Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.')

tried to run apply on the pc with docker installed and new docker image was pulled by moto: mlupin/docker_lambda

but it is impossible cause we are running apply in docker image with no possibility of DinD.

could you please take a look?

thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions