Docker Community Forums

Share and learn in the Docker community.

How do I switch to LCOW from Windows and vice versa via Docker API or Powershell or Shell script?

In a big picture, I need a container which support Windows and Linux containers. I use Windows 10 or Windows 2019 OS, How I can switch from Windows to Linux containers and vice versa via automation scripts like Powershell or Shell script or Docker API(if available)?

Much appreciate if you could some provide best practices on this at the earliest.