遇到的问题:
If you are using windows command prompt instead of Docker QuickStart Terminal see official docs you should make following steps (assuming your docker machine has the name default):
If you are using windows command prompt instead of Docker QuickStart Terminal see official docs you should make following steps (assuming your docker machine has the name default):
- docker-machine start default or create new one
- docker-machine lswill show you your machine running
-
docker-machine env --shell cmd default and you'll see something like
SET DOCKER_TLS_VERIFY=1 SET DOCKER_HOST=tcp://192.168.99.100:2376 SET DOCKER_CERT_PATH=C:\Users\Arseny\.docker\machine\machines\default SET DOCKER_MACHINE_NAME=default REM Run this command to configure your shell: REM FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd default') DO %i - Run FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd default') DO %i
本文档详细介绍了在Windows环境下使用Docker Machine进行环境配置的具体步骤,包括启动Docker Machine、查看运行状态及设置环境变量等关键操作。
429

被折叠的 条评论
为什么被折叠?



