docs
docs copied to clipboard
Command given after executing docker-machine env myvm seems false
File: get-started/part5.md
Hi, I'm getting an error using the command given by docker-machine env vmname
PS E:\Docker\services-get-started> docker-machine.exe env myvm1
$Env:DOCKER_TLS_VERIFY = "1"
$Env:DOCKER_HOST = "tcp://192.168.0.17:2376"
$Env:DOCKER_CERT_PATH = "C:\Users\bs\.docker\machine\machines\myvm1"
$Env:DOCKER_MACHINE_NAME = "myvm1"
$Env:COMPOSE_CONVERT_WINDOWS_PATHS = "true"
# Run this command to configure your shell:
# & "C:\Program Files\Docker\Docker\Resources\bin\docker-machine.exe" env myvm1 | Invoke-Expression
PS E:\Docker\services-get-started> "C:\Program Files\Docker\Docker\Resources\bin\docker-machine.exe" env myvm1 | Invoke-Expression
Au caractère Ligne:1 : 67
+ ... ram Files\Docker\Docker\Resources\bin\docker-machine.exe" env myvm1 | ...
+ ~~~
Jeton inattendu « env » dans l’expression ou l’instruction.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
PS E:\Docker\services-get-started> docker-machine.exe env myvm1 | Invoke-Expression
So it works using docker-machine, but it does not using the full path. Any idea about that? Is it an error from the documentation or just coming from my machine ?
Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked