Hi,
I try to run localstack and I got the following error:
C:\Python39\Scripts>python βC:\Python39\Scripts\localstackβ start
__ _______ __ __
/ / ____ _________ _/ / ___// /_____ ______/ /__
/ / / __ / / __ / /\__ \/ __/ __
/ / ///
/ // // / // // / // / // // / // ,<
//_/___/_,////_/_,/___//|_|
LocalStack CLI 2.1.0
[14:49:27] starting LocalStack in Docker mode localstack.py:142
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ LocalStack Runtime Log (press CTRL-C to quit) βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ERROR: β[βdockerβ, βpsβ, ββformatβ, β{{json . }}β]β: exit code 1; output: bβerror during connect: This error may indicate that the docker daemon is not running.: Get βhttp://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json?size=1β: open //./pipe/docker_engine: The system cannot find the file specified.\nβ
Traceback (most recent call last):
File βC:\Python39\lib\site-packages\localstack\utils\container_utils\docker_cmd_client.pyβ, line 210, in list_containers
cmd_result = run(cmd).strip()
File βC:\Python39\lib\site-packages\localstack\utils\run.pyβ, line 119, in run
raise e
File βC:\Python39\lib\site-packages\localstack\utils\run.pyβ, line 69, in run
output = subprocess.check_output(cmd, shell=shell, stderr=stderr, env=env_dict, cwd=cwd)
File βC:\Python39\lib\subprocess.pyβ, line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File βC:\Python39\lib\subprocess.pyβ, line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command β[βdockerβ, βpsβ, ββformatβ, β{{json . }}β]β returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File βC:\Python39\Scripts\localstackβ, line 23, in
main()
File βC:\Python39\Scripts\localstackβ, line 19, in main
main.main()
File βC:\Python39\lib\site-packages\localstack\cli\main.pyβ, line 17, in main
cli()
File βC:\Python39\lib\site-packages\localstack\cli\plugin.pyβ, line 15, in call
self.group(*args, **kwargs)
File βC:\Python39\lib\site-packages\click\core.pyβ, line 1130, in call
return self.main(*args, **kwargs)
File βC:\Python39\lib\site-packages\click\core.pyβ, line 1055, in main
rv = self.invoke(ctx)
File βC:\Python39\lib\site-packages\click\core.pyβ, line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File βC:\Python39\lib\site-packages\click\core.pyβ, line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File βC:\Python39\lib\site-packages\click\core.pyβ, line 760, in invoke
return __callback(*args, **kwargs)
File βC:\Python39\lib\site-packages\localstack\utils\analytics\cli.pyβ, line 66, in publisher_wrapper
return fn(*args, **kwargs)
File βC:\Python39\lib\site-packages\localstack\cli\localstack.pyβ, line 168, in cmd_start
bootstrap.start_infra_in_docker()
File βC:\Python39\lib\site-packages\localstack\utils\bootstrap.pyβ, line 584, in start_infra_in_docker
prepare_docker_start()
File βC:\Python39\lib\site-packages\localstack\utils\bootstrap.pyβ, line 514, in prepare_docker_start
if DOCKER_CLIENT.is_container_running(container_name):
File βC:\Python39\lib\site-packages\localstack\utils\container_utils\container_client.pyβ, line 525, in is_container_running
return container_name in self.get_running_container_names()
File βC:\Python39\lib\site-packages\localstack\utils\container_utils\container_client.pyβ, line 519, in get_running_container_names
result = self.list_containers(all=False)
File βC:\Python39\lib\site-packages\localstack\utils\container_utils\docker_cmd_client.pyβ, line 212, in list_containers
raise ContainerException(
localstack.utils.container_utils.container_client.ContainerException: (βDocker process returned with errorcode 1β, bβerror during connect: This error may indicate that the docker daemon is not running.: Get βhttp://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json?size=1β: open //./pipe/docker_engine: The system cannot find the file specified.\nβ, None)
Can anyone assist please?