Easy to fix, all what you need after updating your Docker or docker compose to run the command below, to export the new TLS version,
export COMPOSE_TLS_VERSION=TLSv1_2
if it didn't work then follow the steps below
one of the issues with Docker Machine is losing the SSH connection, the way to solve it in case you met this issue:
If you are using Default machine:
docker-machine rm default
docker-machine create --driver virtualbox default
Using DDkits Virtual Machine
docker-machine rm ddkits
ddkits install
ddk c
// should show you empty machine no containers then run again
ddk install
ddk c should not show you the new ddkits container
to reinstall your ddk environment again, just go the main folder of ddkits site
ddk rebuild
Done!!