We are planning to remove supports for non-Linux platform in runc (https://github.com/opencontainers/runc/pull/1654). The current import here is the only thing that i found in docker that is windows-related so fixing this would remove the rest of windows code in runc. This changes some functions in daemon_windows to be the same as daemon_unix to use runtime-spec public API instead of runc. Signed-off-by: Daniel Dao <dqminh89@gmail.com> Upstream-commit: 4d1d486202a7c3977e51275c2efdba922375b0cd Component: engine