I am running Docker Desktop version 22.214.171.124 (engine 19.03.4) on Windows 10 1903.
- Windows container mode
- Experimental On
I am trying to copy files into a Windows container.
Steps to reproduce the issue:
1 - The Docker Run is ok using mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2016
2 - Docker PS display my container
3 - I can browse a website hosted on my container.
4 - I docker stop the container
5 - docker cp fails with No such container.
6 - in the Docker events:
– container kill
– container die
– network disconnect
– container stop
– container destroy
Why the container is automatically destroyed after stop? I found nothing in the documentation explaining this.
Have you an idea?
PS: as long as the container is not stopped, it successfully works.