I’m not sure what kind of config you are looking for, but in the first environment you are probbaly using Docker CE, but in the other, the error message very clearly says you are using Podman, which is not Docker.
They just add an alias so you can use the “docker” command to actually manage Podman. But not all parameters and behaviors are same.