Hello,
I have a list of Windows Docker containers running in my development VM, and I am having an issue with one particular container not running. II have a Powershell script that loads the images and start the containers. I have tried the following:
- Uninstalling the containers and images from Docker Desktop, and running the powershell script
- Above step 1, plus uninstalling Docker Desktop (version 4.23), rebooting the VM, then reinstalling Docker Desktop, and running the powershell script
- Running command “docker system prune –all”, rebooting the VM, then running the powershell script
After running that powershell script, I always see the following error for that Gateway microservice in the output (highlighted in bold):
Starting to run sdoapmdockerrepo.azurecr.io/mdrx.pm.server.microservices.gateway:22.1.1.124 on port 80:80
Will run :
docker run --restart unless-stopped --name=Gateway -d --security-opt “credentialspec=file://gmsa_docker_rcm.json” --hostname gmsa_docker_rcm -e GatewayUri=http://Gateway -e AuthUri=http://Auth -e EmployerUri=http://Employer -e PatientUri=http://Patient -e webclientUri=http://webclient -e SchedulingUri=http://Scheduling -e TranUri=http://Tran -e NoteUri=http://Note -e StoredJobsUri=http://StoredJobs -e DocumentUri=http://Document -e SettingsUri=http://Settings -e ProviderUri=http://Provider -e CarrierUri=http://Carrier -e DashboardUri=http://Dashboard -e ClaimsUri=http://Claims -e AdministrationUri=http://Administration -e ASPNETCORE_ENVIRONMENT=“Development” -e APMSecurityDSN=“Provider=msoledbsql;Server=tcp:daniel-test.rd.allscripts.com;Database=Ntier_Security_22_1;Trusted_Connection=yes;” -e AIEMasterDSN=" " -e HostType=“Docker” -e AppPath=“C:\app” -e AdDomainController=“dc1-corpdc01.corp.allscripts.com” -e APMAPIFQDN=“daniel-test.rd.allscripts.com” -p 80:80 -v C:/Logs:C:/app/Logs sdoapmdockerrepo.azurecr.io/mdrx.pm.server.microservices.gateway:22.1.1.124
0636e8d44259f6711eb2157898c7537ed92d879ff823778bbd217bc7f7d78780
docker: Error response from daemon: failed to create endpoint Gateway on network nat: failed during hnsCallRawResponse: hnsCall failed in Win32: The process cannot access the file because it is being used by another process. (0x20).
The other containers are up and running, except for this Gateway container.
Any ideas on how to resolve this issue?
Thanks