This is because the folder /etc/teamd is empty. Need to check if /etc/teamd folder is empty or not. https://github.com/Azure/sonic-buildimage/pull/441/files could resolve this issue. But line https://github.com/marian-pritsak/sonic-buildimage/blob/97a59f15d5c57b83e604efd50cb674a818f6fec9/dockers/docker-teamd/start.sh#L18 will still return /etc/teamd/* when the folder is empty.
This is because the folder /etc/teamd is empty.
Need to check if /etc/teamd folder is empty or not.
https://github.com/Azure/sonic-buildimage/pull/441/files could resolve this issue.
But line https://github.com/marian-pritsak/sonic-buildimage/blob/97a59f15d5c57b83e604efd50cb674a818f6fec9/dockers/docker-teamd/start.sh#L18 will still return /etc/teamd/* when the folder is empty.