DockerException(docker.errors.DockerException:Errorwhile fetching server API version:('Connectionaborted.', FileNotFoundError(2, 'No such file '))

File “/opt/conda/lib/python3.8/site-packages/docker/api/client.py”, line 221, in _retrieve_server_version raise DockerException( docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.’, FileNotFoundError(2, ‘No such file or directory’))

I get this error when I run this command:
docker-compose --env-file docker-compose.env -p aiaa_triton up --remove-orphans -d