Cannot start docker after installation on Windows

前端 未结 9 1943
难免孤独
难免孤独 2020-12-23 02:04

I am a new to Docker. After the installation of Docker Toolbox (OS: Windows 10) I run Docker Quickstart Terminal and in the console I see this:

Running pre-c         


        
9条回答
  •  庸人自扰
    2020-12-23 02:42

    I got the same error when I installed Docker Toolbox on my Windows 10 machine.

    Solution:

    1. Install Docker Community Edition (not Docker Toolbox)
    2. Enable Hyper-V

    Open Control Panel -> System and Security -> Programs (left panel) -> Turn Windows features on or off -> Check the Hyper-V box

    As of 2017's Win 10, if you don't have Hyper-V option, then your Windows OS is not Enterprise Edition. Also, Docker seems to work a lot better on Intel processors (not AMD).

    1. Add C:\Program Files\Docker\Docker\resources\bin to Path in Environmental Variables.
    2. Open Git Bash and type docker-compose up and now that command should work.

    If you don't have GitBash, please download it.

提交回复
热议问题