Ways to access CLI of Home Assistant OS running on VMware Workstation virtual machine

My Home Assistant OS 8.1 is not booting, instead is doing an infinite boot loop. Details are in the bugs dockerd level=error msg="failed to load container" · Issue #1970 · home-assistant/operating-system · GitHub and [WARN] Home Assistant CLI not starting! Jump into emergency console · Issue #1969 · home-assistant/operating-system · GitHub

Jun 09 12:13:55 homeassistant audit[421]: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="docker-default" pid=421 comm="apparmor_parser"
Jun 09 12:13:55 homeassistant audit[421]: SYSCALL arch=c000003e syscall=1 success=yes exit=7945 a0=4 a1=5624d33534c0 a2=1f09 a3=0 items=0 ppid=420 pid=421 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="apparmor_parser" exe="/usr/sbin/apparmor_parser" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=61707061726D6F725F706172736572002D4B72002F6D6E742F646174612F646F636B65722F746D702F646F636B65722D64656661756C7431393937333033343235
Jun 09 12:13:55 homeassistant kernel: audit: type=1400 audit(1654766035.062:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="docker-default" pid=421 comm="apparmor_parser"
Jun 09 12:13:55 homeassistant kernel: audit: type=1300 audit(1654766035.062:11): arch=c000003e syscall=1 success=yes exit=7945 a0=4 a1=5624d33534c0 a2=1f09 a3=0 items=0 ppid=420 pid=421 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="apparmor_parser" exe="/usr/sbin/apparmor_parser" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant kernel: audit: type=1327 audit(1654766035.062:11): proctitle=61707061726D6F725F706172736572002D4B72002F6D6E742F646174612F646F636B65722F746D702F646F636B65722D64656661756C7431393937333033343235
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.069618724Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.069704556Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.069769564Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.069793659Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.072804679Z" level=info msg="parsed scheme: \"unix\"" module=grpc
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.072852521Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.072909422Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.072932761Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.510719007Z" level=warning msg="Your kernel does not support cgroup blkio weight"
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.510790367Z" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.511137197Z" level=info msg="Loading containers: start."
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.520600103Z" level=error msg="failed to load container" container=93edabb4dd7472b9e229887f1127446d6bb375331811bdd4cf8207c630ed0fb0 error="Container 17f7ed101a68e40f1d345d3bb00b9ff81554071536ec1dea7693d9d2f88fa10f is stored at 93edabb4dd7472b9e229887f1127446d6bb375331811bdd4cf8207c630ed0fb0"
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.536707477Z" level=error msg="failed to load container" container=cdfd3091a149481cc16d19f18ade1efb643f1b02612c75b0048e66c4d2d1a2fe error="invalid character 'a' looking for beginning of value"
Jun 09 12:13:55 homeassistant audit[429]: NETFILTER_CFG table=nat family=2 entries=0 op=xt_register pid=429 subj==unconfined comm="iptables"
Jun 09 12:13:55 homeassistant audit[429]: SYSCALL arch=c000003e syscall=55 success=yes exit=0 a0=4 a1=0 a2=40 a3=7ffeb2eee900 items=0 ppid=396 pid=429 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4C002D6E
Jun 09 12:13:55 homeassistant audit[430]: NETFILTER_CFG table=filter family=2 entries=0 op=xt_register pid=430 subj==unconfined comm="iptables"
Jun 09 12:13:55 homeassistant audit[430]: SYSCALL arch=c000003e syscall=55 success=yes exit=0 a0=4 a1=0 a2=40 a3=7ffdf0814070 items=0 ppid=396 pid=430 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D4C002D6E
Jun 09 12:13:55 homeassistant audit[449]: NETFILTER_CFG table=nat family=2 entries=5 op=xt_replace pid=449 subj==unconfined comm="iptables"
Jun 09 12:13:55 homeassistant audit[449]: SYSCALL arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=55ec8dbd1a60 items=0 ppid=396 pid=449 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4E00444F434B4552
Jun 09 12:13:55 homeassistant audit[451]: NETFILTER_CFG table=filter family=2 entries=4 op=xt_replace pid=451 subj==unconfined comm="iptables"
Jun 09 12:13:55 homeassistant audit[451]: SYSCALL arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=563c4e5fd940 items=0 ppid=396 pid=451 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D740066696C746572002D4E00444F434B4552
Jun 09 12:13:55 homeassistant audit[453]: NETFILTER_CFG table=filter family=2 entries=6 op=xt_replace pid=453 subj==unconfined comm="iptables"
Jun 09 12:13:55 homeassistant audit[453]: SYSCALL arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=55f11bf0cb10 items=0 ppid=396 pid=453 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D740066696C746572002D4E00444F434B45522D49534F4C4154494F4E2D53544147452D31
Jun 09 12:13:55 homeassistant audit[455]: NETFILTER_CFG table=filter family=2 entries=8 op=xt_replace pid=455 subj==unconfined comm="iptables"
Jun 09 12:13:55 homeassistant audit[455]: SYSCALL arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=55f59b6e8cf0 items=0 ppid=396 pid=455 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D740066696C746572002D4E00444F434B45522D49534F4C4154494F4E2D53544147452D32
Jun 09 12:13:55 homeassistant audit[457]: NETFILTER_CFG table=filter family=2 entries=10 op=xt_replace pid=457 subj==unconfined comm="iptables"
Jun 09 12:13:55 homeassistant audit[457]: SYSCALL arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=558bb52d65a0 items=0 ppid=396 pid=457 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D4100444F434B45522D49534F4C4154494F4E2D53544147452D31002D6A0052455455524E
Jun 09 12:13:55 homeassistant audit[459]: NETFILTER_CFG table=filter family=2 entries=11 op=xt_replace pid=459 subj==unconfined comm="iptables"
Jun 09 12:13:55 homeassistant audit[459]: SYSCALL arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=55d581ae0720 items=0 ppid=396 pid=459 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D4100444F434B45522D49534F4C4154494F4E2D53544147452D32002D6A0052455455524E
Jun 09 12:13:55 homeassistant audit[460]: NETFILTER_CFG table=filter family=2 entries=12 op=xt_replace pid=460 subj==unconfined comm="iptables"
Jun 09 12:13:55 homeassistant audit[460]: SYSCALL arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=5572d0f94120 items=0 ppid=396 pid=460 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-legacy-multi" subj==unconfined key=(null)
Jun 09 12:13:55 homeassistant audit: PROCTITLE proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D740066696C746572002D5000464F52574152440044524F50
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.808607469Z" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.808775250Z" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=moby
Jun 09 12:13:55 homeassistant dockerd[396]: time="2022-06-09T09:13:55.808782852Z" level=info msg="stopping healthcheck following graceful shutdown" module=libcontainerd
Jun 09 12:13:56 homeassistant dockerd[396]: time="2022-06-09T09:13:56.811308228Z" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: Error while dialing dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc
Jun 09 12:13:56 homeassistant dockerd[396]: time="2022-06-09T09:13:56.811497346Z" level=warning msg="grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}. Err :connection error: desc = \"transport: Error while dialing dial unix:///var/run/docker/containerd/containerd.sock: timeout\". Reconnecting..." module=grpc

It seems the error is Docker related

Jun 09 12:13:56 homeassistant dockerd[396]: panic: page 8 already freed
Jun 09 12:13:56 homeassistant dockerd[396]: goroutine 1 [running]:
Jun 09 12:13:56 homeassistant dockerd[396]: go.etcd.io/bbolt.(*freelist).free(0xc0000c4e00, 0x4528, 0x7fa85c5c0000)
Jun 09 12:13:56 homeassistant dockerd[396]:         go.etcd.io/bbolt/freelist.go:175 +0x2c8
Jun 09 12:13:56 homeassistant dockerd[396]: go.etcd.io/bbolt.(*node).spill(0xc000a29340)
Jun 09 12:13:56 homeassistant dockerd[396]:         go.etcd.io/bbolt/node.go:359 +0x213
Jun 09 12:13:56 homeassistant dockerd[396]: go.etcd.io/bbolt.(*node).spill(0xc000a29260)
Jun 09 12:13:56 homeassistant dockerd[396]:         go.etcd.io/bbolt/node.go:346 +0xaa
Jun 09 12:13:56 homeassistant dockerd[396]: go.etcd.io/bbolt.(*node).spill(0xc000a29110)
Jun 09 12:13:56 homeassistant dockerd[396]:         go.etcd.io/bbolt/node.go:346 +0xaa
Jun 09 12:13:56 homeassistant dockerd[396]: go.etcd.io/bbolt.(*Bucket).spill(0xc000cca540)
Jun 09 12:13:56 homeassistant dockerd[396]:         go.etcd.io/bbolt/bucket.go:570 +0x32f
Jun 09 12:13:56 homeassistant dockerd[396]: go.etcd.io/bbolt.(*Bucket).spill(0xc000ae67f8)
Jun 09 12:13:56 homeassistant dockerd[396]:         go.etcd.io/bbolt/bucket.go:537 +0xea
Jun 09 12:13:56 homeassistant dockerd[396]: go.etcd.io/bbolt.(*Tx).Commit(0xc000ae67e0)
Jun 09 12:13:56 homeassistant dockerd[396]:         go.etcd.io/bbolt/tx.go:160 +0xe7
Jun 09 12:13:56 homeassistant dockerd[396]: go.etcd.io/bbolt.(*DB).Update(0xc0007d1130, 0xc000f3e580)
Jun 09 12:13:56 homeassistant dockerd[396]:         go.etcd.io/bbolt/db.go:701 +0xe5
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/libkv/store/boltdb.(*BoltDB).AtomicDelete(0xc0007d1130, {0xc0007cc1c0, 0x65}, 0xc000b6f9e0)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/libkv/store/boltdb/boltdb.go:329 +0x19b
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/libnetwork/datastore.(*datastore).DeleteObjectAtomic(0xc000cca180, {0x2ddea48, 0xc000e705a0})
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/libnetwork/datastore/datastore.go:623 +0x3b4
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/libnetwork/drivers/bridge.(*driver).storeDelete(0xc000d52b00, {0x2ddea48, 0xc000e705a0})
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/libnetwork/drivers/bridge/bridge_store.go:120 +0x1e2
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/libnetwork/drivers/bridge.(*driver).populateEndpoints(0xc000d52b00)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/libnetwork/drivers/bridge/bridge_store.go:87 +0x510
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/libnetwork/drivers/bridge.(*driver).initStore(0xc000d52b00, 0x29f6c6c)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/libnetwork/drivers/bridge/bridge_store.go:40 +0x1de
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/libnetwork/drivers/bridge.(*driver).configure(0xc000d52b00, 0x26eaf80)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/libnetwork/drivers/bridge/bridge.go:439 +0x66b
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/libnetwork/drivers/bridge.Init({0x2d78de8, 0xc000145b80}, 0x6)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/libnetwork/drivers/bridge/bridge.go:169 +0x98
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/libnetwork/drvregistry.(*DrvRegistry).AddDriver(...)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/libnetwork/drvregistry/drvregistry.go:72
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/libnetwork.New({0xc000d52a80, 0x9, 0x10})
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/libnetwork/controller.go:221 +0x61c
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/docker/daemon.(*Daemon).initNetworkController(0xc00000c1e0, 0xc0001beb00, 0xc000ca9d70)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/docker/daemon/daemon_unix.go:855 +0x65
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/docker/daemon.(*Daemon).restore(0xc00000c1e0)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/docker/daemon/daemon.go:490 +0x532
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/docker/docker/daemon.NewDaemon({0x2db5e38, 0xc000829100}, 0xc0001beb00, 0xc0000d0120)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/docker/daemon/daemon.go:1150 +0x3037
Jun 09 12:13:56 homeassistant dockerd[396]: main.(*DaemonCli).start(0xc0000b4b70, 0xc00012b800)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/docker/cmd/dockerd/daemon.go:195 +0xa36
Jun 09 12:13:56 homeassistant dockerd[396]: main.runDaemon(...)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/docker/cmd/dockerd/docker_unix.go:13
Jun 09 12:13:56 homeassistant dockerd[396]: main.newDaemonCommand.func1(0xc00050cdc0, {0xc000050ab0, 0x9, 0x9})
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/docker/cmd/dockerd/docker.go:34 +0x5c
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/spf13/cobra.(*Command).execute(0xc00050cdc0, {0xc00012c010, 0x9, 0x9})
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/spf13/cobra/command.go:850 +0x60e
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/spf13/cobra.(*Command).ExecuteC(0xc00050cdc0)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/spf13/cobra/command.go:958 +0x3ad
Jun 09 12:13:56 homeassistant dockerd[396]: github.com/spf13/cobra.(*Command).Execute(...)
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/spf13/cobra/command.go:895
Jun 09 12:13:56 homeassistant dockerd[396]: main.main()
Jun 09 12:13:56 homeassistant dockerd[396]:         github.com/docker/docker/cmd/dockerd/docker.go:97 +0x15d
Jun 09 12:13:56 homeassistant systemd[1]: docker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jun 09 12:13:56 homeassistant systemd[1]: docker.service: Failed with result 'exit-code'.
Jun 09 12:13:56 homeassistant systemd[1]: Failed to start Docker Application Container Engine.
Jun 09 12:13:56 homeassistant systemd[1]: Dependency failed for HassOS supervisor.
Jun 09 12:13:56 homeassistant systemd[1]: hassos-supervisor.service: Job hassos-supervisor.service/start failed with result 'dependency'.
Jun 09 12:13:56 homeassistant systemd[1]: Dependency failed for Dropbear SSH daemon.
Jun 09 12:13:56 homeassistant systemd[1]: dropbear.service: Job dropbear.service/start failed with result 'dependency'.

I would like to stop the automatic reboot if the Docker service is not starting correctly so that I can access the CLI of Home Assistant OS

Please advise how to do that.

Thanks!