none
How to enable experimental mode for Docker EE for Windows Server RRS feed

  • Question

  • I am using Docker EE for Windows Server 2016.

    I'm trying to use the "--squash" option for "docker build" and got the following message:

      "Error response from daemon: squash is only supported with experimental mode"

    How do you enable "experimental mode" for Docker EE for Windows?  Thanks!

    My Docker version:

     Version:      17.03.2-ee-5
     API version:  1.27
     Go version:   go1.7.5
     Git commit:   fa09039
     Built:        Wed Jul 19 23:56:45 2017

    Tuesday, August 1, 2017 11:55 PM

All replies

  • Good question, the "experimental" flag is documented as part of the daemon.json for Linux but not for Windows.

    If you try it does it work?

    Wednesday, August 2, 2017 8:26 PM
  • Run this

    $configfile =@"
    {
        "experimental":true
    }
    "@
    $configfile|Out-File -FilePath c:\Programdata\docker\config\daemon.json -Encoding ascii -Force

    restart-Service docker


    May the sword be true!

    Wednesday, April 3, 2019 7:39 PM
  • works

    Mirronelli

    Thursday, September 26, 2019 11:34 AM