Skip to content

bug: Localstack is not starting (using podman) on macos  #12983

@yourfavtheo

Description

@yourfavtheo

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

On MacOS, I'm trying launch localstack but using podman according to the documentation.

Didn't do nothing less/more then following the documentation.
I think there is already an issue on this topic but it was closed due to inactivity.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "localstack/utils/threads.py", line 60, in run
  File "localstack/utils/serving.py", line 168, in _run
  File "localstack/utils/bootstrap.py", line 1127, in do_run
  File "localstack/utils/bootstrap.py", line 915, in start
  File "localstack/utils/bootstrap.py", line 944, in __init__
  File "localstack/utils/container_utils/container_client.py", line 901, in get_container_name
  File "localstack/utils/container_utils/docker_cmd_client.py", line 521, in inspect_container
  File "localstack/utils/container_utils/docker_cmd_client.py", line 501, in _inspect_object
localstack.utils.container_utils.container_client.ContainerException: ('Docker process returned with errorcode 125', b'Error: no container with ID 4d758a9121ad370925b1b8335d0cca89faf112b7fe8a41226857805454440659 found in database: no such container\n', None)

Expected Behavior

localstack to start normally according to the documentation.

How are you starting LocalStack?

Custom (please describe below)

Steps To Reproduce

How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)

sudo sh -c 'DEBUG=1 DOCKER_CMD=podman DOCKER_HOST=unix://run/podman/podman.sock DOCKER_SOCK=/run podman/podman.sock localstack start --network podman'

Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

Not relevant. 

Environment

- OS:
  MacOS (Sequoia 15.6)

- LocalStack:
  LocalStack version: 4.7.0
  LocalStack Docker image sha:
  LocalStack build date:
  LocalStack build git hash:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions