@Clervens Volcy Thanks for the question, Here are a few things you could try. Here is link to similar that can help.
Check your Docker image: Make sure you have the correct Docker image set in your environment. You can set the image on your environment using something like this: env.docker.base_image = 'mcr.microsoft.com/azureml/openmpi3.1.2-ubuntu18.04'.
Check your WSL2 setup: If you’re running the job in WSL2 on Ubuntu, make sure your WSL2 setup is correct. Some users have reported issues with Ubuntu on WSL2 and have resolved them by disabling and re-enabling the “Virtual Machine Platform” feature, or by uninstalling and reinstalling Ubuntu and Docker Desktop.
Check for conda installation problems: If the container crashed or is taking too long to start up, it’s likely that the conda environment update has failed to resolve correctly.
Use MLFlow SDK for logging of metrics, saving and logging models, etc.
Check your compute target: For local compute, you could try setting your environment to a user-managed environment with myenv = Environment ("user-managed-env") and myenv.python.user_managed_dependencies = True.