skip to Main Content

Cannot run docker container in windows server 2019 vmware. It was error response from daemon

docker container run mcr.microsoft.com/windows/nanoserver:1809 hostname

docker: Error response from daemon: container bb81979fe2974f59031e56e062f1b08f1ad6fdaa57ec57965c316563f384da59 encountered an error during hcsshim::System::Start: context deadline exceeded.

2

Answers


  1. Sure. If you are using something that does not require windows container. You can run a container on linux. I would install an instance of ubuntu or centos on vmware install docker and work with it there.

    Download centos
    https://docs.centos.org/en-US/centos/install-guide/downloading/

    Install docker
    https://docs.docker.com/engine/install/centos/

    A side not though this is not really production grade orchestration. You may want to look at docker swarm / kubernetes / openshift for prod workloads.

    Login or Signup to reply.
  2. Have you tried running it with Hyper-V?

    docker run -it --isolation=hyperv mcr.microsoft.com/windows/nanoserver:1809
    

    If it works you can create or edit the config file:
    C:ProgramDatadockerconfigdaemon.json

    Add:

    {
        "exec-opts": ["isolation=hyperv"]
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search