Docker commands fails (in Windows)

前端 未结 25 2436
-上瘾入骨i
-上瘾入骨i 2020-12-23 02:26

I am trying to use Docker on a windows machine and is hit with every possible issue it seems. My latest one is this: My machine is running but I can\'t seem to interact with

25条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-23 02:39

    I run into this problem when using docker-machine and I haven't run the docker-machine env command after rebooting. I'm not sure how to do this in cmd.exe, but if you're using powershell try issuing this command:

    docker-machine env --shell=powershell | Invoke-Expression
    

提交回复
热议问题