During Sitecore instance setup with docker-compose command, sometimes you may face below issue
ERROR: Cannot start service cm: container is marked for removal and cannot be started
or
ERROR: Cannot start service mssql encountered an error during hcsshim sitecore docker
or
ERROR: Cannot start service solr encountered an error during hcsshim::System::Start: failure in a Windows system call: The virtual machine or container exited unexpectedly.
To resolve above issues, please follow below steps
Try below commands as PowerShell script(admin mode)
docker-compose down
docker-compose up -d
If issue not resolved then please try below approach
copy container id, for which facing issue then run below commands in PowerShell as admin
net stop docker
now manually delete Folder with matched container id from C:\Programdata\docker\containers
net start docker
Hope this help.
No comments:
Post a Comment