[SOLVED] Homeassistant container crashed

Hello,
trying to install Home Assistant Supervised.
homeassistant container crashed every time after start. there is a logs.

root@HA2:/home/vic# docker logs homeassistant
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 188, in main
    from . import config, runner
  File "/usr/src/homeassistant/homeassistant/runner.py", line 18, in <module>
    from . import bootstrap
  File "/usr/src/homeassistant/homeassistant/bootstrap.py", line 27, in <module>
    from . import (
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 30, in <module>
    from .components import persistent_notification
  File "/usr/src/homeassistant/homeassistant/components/persistent_notification/__init__.py", line 14, in <module>
    from homeassistant.components import websocket_api
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/__init__.py", line 14, in <module>
    from . import commands, connection, const, decorators, http, messages  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 15, in <module>
    from homeassistant.components.http import KEY_HASS, HomeAssistantView
  File "/usr/src/homeassistant/homeassistant/components/http/__init__.py", line 44, in <module>
    from homeassistant.helpers.network import NoURLAvailableError, get_url
  File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 9, in <module>
    from hass_nabucasa import remote
  File "/usr/local/lib/python3.12/site-packages/hass_nabucasa/__init__.py", line 18, in <module>
    from .auth import CloudError, CognitoAuth
  File "/usr/local/lib/python3.12/site-packages/hass_nabucasa/auth.py", line 12, in <module>
    import boto3
  File "/usr/local/lib/python3.12/site-packages/boto3/__init__.py", line 17, in <module>
    from boto3.session import Session
  File "/usr/local/lib/python3.12/site-packages/boto3/session.py", line 17, in <module>
    import botocore.session
  File "/usr/local/lib/python3.12/site-packages/botocore/session.py", line 26, in <module>
    import botocore.client
  File "/usr/local/lib/python3.12/site-packages/botocore/client.py", line 15, in <module>
    from botocore import waiter, xform_name
  File "/usr/local/lib/python3.12/site-packages/botocore/waiter.py", line 18, in <module>
    from botocore.docs.docstring import WaiterDocstring
  File "/usr/local/lib/python3.12/site-packages/botocore/docs/__init__.py", line 15, in <module>
    from botocore.docs.service import ServiceDocumenter
  File "/usr/local/lib/python3.12/site-packages/botocore/docs/service.py", line 13, in <module>
    from botocore.docs.bcdoc.restdoc import DocumentStructure
  File "/usr/local/lib/python3.12/site-packages/botocore/docs/bcdoc/restdoc.py", line 17, in <module>
    from botocore.compat import OrderedDict
  File "/usr/local/lib/python3.12/site-packages/botocore/compat.py", line 32, in <module>
    from urllib3 import exceptions
  File "/usr/local/lib/python3.12/site-packages/urllib3/__init__.py", line 13, in <module>
    from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
  File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 41, in <module>
    from .response import HTTPResponse
  File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 163, in <module>
    class HTTPResponse(io.IOBase):
  File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 396, in HTTPResponse
    DECODER_ERROR_CLASSES += (brotli.error,)
                              ^^^^^^^^^^^^
AttributeError: module 'brotli' has no attribute 'error'
[10:44:18] INFO: Home Assistant Core finish process exit code 1
[10:44:18] INFO: Home Assistant Core service shutdown
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

please advise, where I need to look next.
may be I something missed in supervisor logs?

root@HA2:/home/vic# docker logs hassio_supervisor
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
[10:43:54] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
[10:43:54] INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started
2024-06-06 10:43:56.309 INFO (MainThread) [__main__] Initializing Supervisor setup
2024-06-06 10:43:56.406 INFO (MainThread) [supervisor.bootstrap] Setting up coresys for machine: qemux86-64
2024-06-06 10:43:56.420 INFO (MainThread) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/amd64-hassio-supervisor with version 2024.06.0
2024-06-06 10:43:56.420 INFO (MainThread) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
2024-06-06 10:43:56.616 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state initialize
2024-06-06 10:43:56.619 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-06 10:43:56.621 INFO (MainThread) [__main__] Setting up Supervisor
2024-06-06 10:43:56.772 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
2024-06-06 10:43:56.903 CRITICAL (MainThread) [supervisor.hardware.monitor] Not privileged to run udev monitor!
2024-06-06 10:43:56.906 INFO (MainThread) [supervisor.dbus.manager] Connected to system D-Bus.
2024-06-06 10:43:56.907 INFO (MainThread) [supervisor.dbus.agent] Load dbus interface io.hass.os
2024-06-06 10:43:56.909 INFO (MainThread) [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1
2024-06-06 10:43:56.910 INFO (MainThread) [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1
2024-06-06 10:43:56.912 INFO (MainThread) [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager
2024-06-06 10:43:56.913 INFO (MainThread) [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc
2024-06-06 10:43:56.914 INFO (MainThread) [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1
2024-06-06 10:43:56.915 INFO (MainThread) [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1
2024-06-06 10:43:56.916 INFO (MainThread) [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1
2024-06-06 10:43:56.952 WARNING (MainThread) [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled.
2024-06-06 10:43:56.993 WARNING (MainThread) [supervisor.dbus.agent] No OS-Agent support on the host. Some Host functions have been disabled.
2024-06-06 13:43:57.178 INFO (MainThread) [supervisor.host.services] Updating service information
2024-06-06 13:43:57.186 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-06-06 13:43:57.191 WARNING (SyncWorker_0) [supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server
2024-06-06 13:43:57.373 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-06-06 13:43:57.465 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
2024-06-06 13:43:57.495 INFO (MainThread) [supervisor.docker.monitor] Started docker events monitor
2024-06-06 13:43:57.496 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
2024-06-06 13:43:57.663 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-cli versions: [<AwesomeVersion CalVer '2024.05.0'>]
2024-06-06 13:43:57.679 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-cli with version 2024.05.0
2024-06-06 13:43:57.699 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
2024-06-06 13:43:58.304 INFO (MainThread) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/amd64-hassio-cli with version 2024.05.0 - 172.30.32.5
2024-06-06 13:43:58.340 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-dns versions: [<AwesomeVersion CalVer '2024.04.0'>]
2024-06-06 13:43:58.353 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-dns with version 2024.04.0
2024-06-06 13:43:58.374 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
2024-06-06 13:43:58.951 INFO (MainThread) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/amd64-hassio-dns with version 2024.04.0 - 172.30.32.3
2024-06-06 13:43:58.953 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
2024-06-06 13:43:58.979 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-audio versions: [<AwesomeVersion CalVer '2023.12.0'>]
2024-06-06 13:43:58.992 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-audio with version 2023.12.0
2024-06-06 13:43:59.008 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
2024-06-06 13:43:59.688 INFO (MainThread) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/amd64-hassio-audio with version 2023.12.0 - 172.30.32.4
2024-06-06 13:43:59.711 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-observer versions: [<AwesomeVersion CalVer '2023.06.0'>]
2024-06-06 13:43:59.723 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-observer with version 2023.06.0
2024-06-06 13:43:59.749 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
2024-06-06 13:44:00.452 INFO (MainThread) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/amd64-hassio-observer with version 2023.06.0 - 172.30.32.6
2024-06-06 13:44:00.471 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-multicast versions: [<AwesomeVersion CalVer '2024.03.0'>]
2024-06-06 13:44:00.482 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-multicast with version 2024.03.0
2024-06-06 13:44:00.497 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
2024-06-06 13:44:00.785 INFO (MainThread) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/amd64-hassio-multicast with version 2024.03.0 - Host
2024-06-06 13:44:00.791 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
2024-06-06 13:44:00.829 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/qemux86-64-homeassistant versions: [<AwesomeVersion CalVer '2024.6.0'>, <AwesomeVersion CalVer '2024.5.5'>]
2024-06-06 13:44:00.851 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/qemux86-64-homeassistant with version 2024.6.0
2024-06-06 13:44:00.866 INFO (MainThread) [supervisor.os.manager] No Home Assistant Operating System found
2024-06-06 13:44:00.877 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository
2024-06-06 13:44:00.880 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository
2024-06-06 13:44:00.897 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/esphome/home-assistant-addon repository
2024-06-06 13:44:03.525 INFO (MainThread) [supervisor.store] Loading add-ons from store: 77 all - 77 new - 0 remove
2024-06-06 13:44:03.583 INFO (MainThread) [supervisor.addons.manager] Found 0 installed add-ons
2024-06-06 13:44:03.629 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
2024-06-06 13:44:03.630 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
2024-06-06 13:44:03.630 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
2024-06-06 13:44:03.630 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state setup
2024-06-06 13:44:03.630 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-06 13:44:03.630 INFO (MainThread) [supervisor.resolution.checks.base] Run check for detached_addon_missing/addon
2024-06-06 13:44:03.630 INFO (MainThread) [supervisor.resolution.checks.base] Run check for detached_addon_removed/addon
2024-06-06 13:44:03.631 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-06 13:44:03.631 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-06 13:44:03.631 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
2024-06-06 13:44:03.631 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-06 13:44:03.635 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - privileged
2024-06-06 13:44:03.636 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
2024-06-06 13:44:03.637 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-06 13:44:03.638 INFO (MainThread) [__main__] Running Supervisor
2024-06-06 13:44:03.641 CRITICAL (MainThread) [supervisor.core] System is running in an unhealthy state and needs manual intervention!
2024-06-06 13:44:03.642 INFO (MainThread) [supervisor.jobs] 'OSManager.mark_healthy' blocked from execution, no Home Assistant OS available
2024-06-06 13:44:03.642 INFO (MainThread) [supervisor.addons.manager] Phase 'initialize' starting 0 add-ons
2024-06-06 13:44:03.688 INFO (MainThread) [supervisor.addons.manager] Phase 'system' starting 0 add-ons
2024-06-06 13:44:03.689 INFO (MainThread) [supervisor.addons.manager] Phase 'services' starting 0 add-ons
2024-06-06 13:44:03.696 INFO (MainThread) [supervisor.core] Start Home Assistant Core
2024-06-06 13:44:03.714 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2024-06-06 13:44:04.201 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/qemux86-64-homeassistant with version 2024.6.0
2024-06-06 13:44:04.202 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-06-06 13:44:14.228 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2024-06-06 13:44:14.229 ERROR (MainThread) [supervisor.core] Can't start Home Assistant Core - rebuiling
2024-06-06 13:44:14.245 INFO (SyncWorker_3) [supervisor.docker.manager] Cleaning homeassistant application
2024-06-06 13:44:14.416 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
2024-06-06 13:44:14.730 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/qemux86-64-homeassistant with version 2024.6.0
2024-06-06 13:44:14.731 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-06-06 13:44:24.759 ERROR (MainThread) [supervisor.homeassistant.core] Home Assistant has crashed!
2024-06-06 13:44:24.761 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_repair - core / None
2024-06-06 13:44:24.761 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - core / None
2024-06-06 13:44:24.762 INFO (MainThread) [supervisor.addons.manager] Phase 'application' starting 0 add-ons
2024-06-06 13:44:24.800 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
2024-06-06 13:44:24.803 INFO (MainThread) [supervisor.core] Supervisor is up and running
2024-06-06 13:44:24.810 INFO (MainThread) [supervisor.host.info] Updating local host information
2024-06-06 13:44:24.813 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-06-06 13:44:24.814 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-06-06 13:44:24.841 INFO (MainThread) [supervisor.jobs] 'OSManager.reload' blocked from execution, no Home Assistant OS available
2024-06-06 13:44:24.841 INFO (MainThread) [supervisor.host.services] Updating service information
2024-06-06 13:44:24.852 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-06-06 13:44:24.858 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-06-06 13:44:24.911 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-06-06 13:44:24.911 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-06-06 13:44:24.912 INFO (MainThread) [supervisor.resolution.module] Create new suggestion create_full_backup - system / None
2024-06-06 13:44:24.912 INFO (MainThread) [supervisor.resolution.module] Create new issue no_current_backup - system / None
2024-06-06 13:44:24.912 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-06-06 13:44:24.913 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-06-06 13:44:24.913 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-06-06 13:44:24.914 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-06-06 13:44:24.916 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-06-06 13:44:24.916 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-06-06 13:44:24.927 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-06-06 13:44:24.929 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-06-06 13:44:24.929 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-06-06 13:44:25.160 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
2024-06-06 13:44:25.196 INFO (MainThread) [supervisor.host.manager] Host information reload completed
2024-06-06 13:44:25.239 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-06-06 13:44:25.240 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not healthy - privileged

Did you install OS Agent ?

yes

root@HA2:/home/vic# gdbus introspect --system --dest io.hass.os --object-path /io/hass/os
node /io/hass/os {
  interface org.freedesktop.DBus.Introspectable {
    methods:
      Introspect(out s out);
    signals:
    properties:
  };
  interface org.freedesktop.DBus.Properties {
    methods:
      Get(in  s interface,
          in  s property,
          out v value);
      GetAll(in  s interface,
             out a{sv} props);
      Set(in  s interface,
          in  s property,
          in  v value);
    signals:
      PropertiesChanged(s interface,
                        a{sv} changed_properties,
                        as invalidates_properties);
    properties:
  };
  interface io.hass.os {
    methods:
    signals:
    properties:
      @org.freedesktop.DBus.Property.EmitsChangedSignal("invalidates")
      readonly s Version = '1.6.0';
      @org.freedesktop.DBus.Property.EmitsChangedSignal("true")
      readwrite b Diagnostics = false;
  };
};
root@HA2:/home/vic#

I’ve deleted container and started it manually like below. And everything looks ok. But for sure problem somewhere else, I would appreciate community help in debugging.

docker run --name=homeassistant \
--hostname=homeassistant \
--env=SUPERVISOR=172.30.32.2 \
--env=HASSIO=172.30.32.2 \
--env=TZ=Europe/Kyiv \
--env=SUPERVISOR_TOKEN=fb831e31541b34ed10214c09aa2f23e16b903c41f67e30ef3b2dc011742e0bf5 \
--env=HASSIO_TOKEN=fb831ef67ee390e5c4e86f60ff642e9b80b6be409af9402379a8065ca230ef3b2dc011742e0bf5 \
--dns=172.30.32.3 --network=host \
--privileged \
--workdir=/config --restart=no --label='supervisor_managed=' \
--log-opt tag={{.Name}} --log-driver=journald \
--add-host observer:172.30.32.6 --add-host supervisor:172.30.32.2 \
-v /home/homeassistant/homeassistant:/config \
-v /run/dbus:/run/dbus:ro \
--runtime=runc --detach=true \
--entrypoint "/bin/sh" \
ghcr.io/home-assistant/qemux86-64-homeassistant:2024.5.5 \
-c "pip install --upgrade brotli && /init"

did some compare on my two servers. On one of them is everything fine, but another not.
both servers

root@HA2:/home/ha-test# docker -v
Docker version 26.1.4, build 5650f9b

then I run on every of them

docker run \
--name ha-test \
--restart=no \
-it --entrypoint '/bin/bash' \
ghcr.io/home-assistant/qemux86-64-homeassistant:2024.6.0

but then asked for python packages, and see big difference

11ba5891c1f1:/config# pip show brotli
Name: Brotli
Version: 1.1.0
Summary: Python bindings for the Brotli compression library
Home-page: https://github.com/google/brotli
Author: The Brotli Authors
Author-email:
License: MIT
Location: /usr/local/lib/python3.12/site-packages
Requires:
Required-by: yt-dlp
11ba5891c1f1:/config#

but on second I don’t have it

5fbf2cba44b3:/config# pip show brotli
WARNING: Skipping /usr/local/lib/python3.12/site-packages/psycopg2-2.9.9.dist-info due to invalid metadata entry 'name'
WARNING: Skipping /usr/local/lib/python3.12/site-packages/mysqlclient-2.2.4.dist-info due to invalid metadata entry 'name'
WARNING: Skipping /usr/local/lib/python3.12/site-packages/faust_cchardet-2.1.19.dist-info due to invalid metadata entry 'name'
WARNING: Skipping /usr/local/lib/python3.12/site-packages/Brotli-1.1.0.dist-info due to invalid metadata entry 'name'
WARNING: Package(s) not found: brotli
5fbf2cba44b3:/config# 

can anyone explain me how it could be? what is a problem with docker?

Never could think that problem in docker.
after removing all containers

docker image prune -a 

docker system prune -af && \
    docker image prune -af && \
    docker system prune -af --volumes && \
    docker system df

all starting to work.