I was able to resolve for standard 02 A1111 and 02.forge (the only two I tried) by running the following three commands in docker console AFTER the error appeared in the log. All were mentioned in above posts but took me a few tries before I got it right.
Executed in order:
wget https://bootstrap.pypa.io/get-pip.py;python3.10 get-pip.py
apt update;apt install python3-packaging
pip install setuptools==69.5.1