chrmarti / vscode-azure-cli

MIT License
1 stars 2 forks source link

Fails to start on Windows #1

Open vladkosarev opened 7 years ago

vladkosarev commented 7 years ago

Here's what I get in vs code when I try to run the cli -


PS C:\Projects\leapgit> docker start azure-cli-jumpbox
>>
azure-cli-jumpbox
PS C:\Projects\leapgit> docker exec -it azure-cli-jumpbox tmux new-session -s "Azure CLI 2_0" /bin/bash -c "trap 'docker rm -f azure-cli-SypgPbIqg' EXIT && docker run --nam
e azure-cli-SypgPbIqg -it -v //c//Projects/leapgit:/code -w /code azuresdk/azure-cli-python" & exit
>>
At line:1 char:242
+ ... /c//Projects/leapgit:/code -w /code azuresdk/azure-cli-python" & exit
+                                                                    ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : AmpersandNotAllowed
FabianMSFT commented 7 years ago

I have a similar issue. The docker container is successfully pulled and started, but the docker exec command isn't executed. When I manually enter the container, he doesn't recognize the AZ command.