docker swarm init on windows container output nothing

I create docker swarm use command:”docker swarm init “,but there is nothing output.

PS C:\ConsoleZ> docker swarm init

then I use command “docker node ls” in another termination , it output :

  • Kubernetes and flannel network setup
  • Testing Dockerfile which runs on non root user using Serverspec
  • Can't connect to MySQL container on AWS ECS
  • Use docker image in .gitlab-ci.yml with build essentials and git
  • Docker : RUN cd … does not work as expected [duplicate]
  • Understanding kubernetes deployment, service, and docker image ports
  • PS C:\ConsoleZ> docker node ls
    rttn874z4rpnuisrcse6869zu *            Down    Active        Leader
    PS C:\ConsoleZ> docker network ls
    NETWORK ID          NAME                DRIVER              SCOPE
    w5d6snuid9pi        ingress             overlay             swarm
    8bc0801a3b5a        nat                 nat                 local
    285a0eacfb3f        none                null                local

    the manager node why is DOWN and no HOSTNAME?

    And I reboot my computer, the swarm I create is lost, I must use the init command create another one.

    Is somebody know why?

    by the way , I use windows container with windows server 2016

    PS C:\ConsoleZ> docker info
    Containers: 1
    Running: 0
    Paused: 0
    Stopped: 1
    Images: 3
    Server Version: 17.03.1-ee-3
    Storage Driver: windowsfilter
    Logging Driver: json-file
      Volume: local
      Network: l2bridge l2tunnel nat null overlay transparent
    Swarm: pending
      NodeID: rttn874z4rpnuisrcse6869zu
      Is Manager: true
      ClusterID: 9bie63os8jzg0e8vvfx3lg3or
      Managers: 1
      Nodes: 1
       Task History Retention Limit: 5
      Snapshot Interval: 10000
      Number of Old Snapshots to Retain: 0
      Heartbeat Tick: 1
      Election Tick: 3
      Heartbeat Period: 5 seconds
    CA Configuration:
      Expiry Duration: 3 months
    Node Address:
    Manager Addresses:
    Default Isolation: process
    Kernel Version: 10.0 14393 (14393.1198.amd64fre.rs1_release_sec.170427-1353)
    Operating System: Windows Server 2016 Datacenter
    OSType: windows
    Architecture: x86_64
    CPUs: 8
    Total Memory: 1.999 GiB 
    Name: windock219
    Docker Root Dir: C:\ProgramData\docker
    Debug Mode (client): false
    Debug Mode (server): false
    Experimental: false
    Insecure Registries:
    Live Restore Enabled: false

  • CoreOS/etcd cluster minimum hosts
  • Docker image before development or after? (Beginner)
  • Kafka with Docker Problems
  • Docker Compose Dev and Production Environments Best Workflow
  • docker container naming pattern
  • Docker: disable pulling from remote registry
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.