Skip to content

image.run_via_binary_in_foreground raises conu.exceptions.CountExceeded #385

Description

@d3flex

i have a problem when i try to create a container with run_via_binary_in_foreground

container = image.run_via_binary_in_foreground(volumes=(base_path, "/opt"),
                                                          additional_opts=["--net=host",
                                                                           "--pid=host",
                                                                           "--ipc=host",
                                                                           "-i",
    
                                                                           "--cap-add", "SYS_ADMIN",
                                                                           "--privileged",
                                                                           "-w=/opt"],
                                                          popen_params={"stdin": subprocess.PIPE,
                                                                        "stdout": subprocess.PIPE})

the trace is

tests/conftest.py:24:


../../../.virtualenvs/pytest_env/lib/python3.9/site-packages/conu/backend/docker/image.py:540: in run_via_binary_in_foreground
container_id, popen_instance = self._run_container(run_command_instance, callback)
../../../.virtualenvs/pytest_env/lib/python3.9/site-packages/conu/backend/docker/image.py:396: in _run_container
Probe(timeout=2, count=10, pause=0.1, fnc=get_cont_id).run()
../../../.virtualenvs/pytest_env/lib/python3.9/site-packages/conu/utils/probes.py:54: in run
return self._run()

i cant find anything in the documentation. Can someone help me understand what am i doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions