docker command transferred from Mac to Windows

I’ve been trying to use docker in windows 10 pro. I used it in Mac before. When I try to use the command below, error message was popped up.

Please help.

Command line:

docker run -v db_car_my-db-1:/dbdata -v $(pwd)/backups:/backup –rm ubuntu tar xvf /backup/db_data_19-03-11.tar -C /dbdata –strip 1

Error Message:

C:UserslenovoDownloadsdb_cardb_car> docker run -v db_car_my-db-1:/dbdata -v $(pwd)/backups:/backup –rm ubuntu t
ar xvf /backup/db_data_19-03-11.tar -C /dbdata –strip 1
C:Program FilesDockerDockerResourcesbindocker.exe: invalid reference format.
See ‘C:Program FilesDockerDockerResourcesbindocker.exe run –help’.

Source: StackOverflow