anchor.diff:  
   task removeContainer(type: DockerRemoveContainer) {
       targetContainerId { "container-that-does-exist" }
  -    onComplete { 
  +    onComplete {
           println "Executes first"
       }
       doLast {
  
positive.code: }
  ----
  
  will result in 
  
  ----
  FROM java
  
negative.code: *The default value is now generated based on a best guess attempt given the link:https://github.com/bmuschko/gradle-docker-plugin/blob/master/src/main/groovy/com/bmuschko/gradle/docker/DockerExtension.groovy#L42[OperatingSystem and Environment]:*
  
      Unix-based machine: unix:///var/run/docker.sock
      Windows-based machine (and everything else): tcp://127.0.0.1:2375
  
  Image pull or push operations against the public Docker Hub registry or a private registry may require authentication.
  You can provide those credentials in the `registryCredentials` closure:
  