Windows
Sometimes your Docker or your worker may encounter issues and fail to run smoothly. In such cases, you're often advised in the #Support channel to remove the containers and re- run the worker command.

Suppose your Docker containers currently looks like this, indicating that it has stopped working, and what you need to do is restart it. Do the following steps:
Open PowerShell as an administrator.
Enter the following script to remove all containers and images and re-run the worker command:
# Stop all running containers docker stop $(docker ps -aq) # Remove all containers docker rm $(docker ps -aq) # Remove all images docker rmi $(docker images -aq) # Run the worker command # [ USE YOUR ACTUAL WORKER COMMAND ]
You can find the worker command in worker page
My script example after replacing worker command:
# Stop all running containers
docker stop $(docker ps -aq)
# Remove all containers
docker rm $(docker ps -aq)
# Remove all images
docker rmi $(docker images -aq)
# Run the worker command
docker run -d -v /var/run/docker.sock:/var/run/docker.sock -e DEVICE_NAME="best-testing" -e DEVICE_ID=f2eaaa74-8314-439a-ab1c-5663aca3af13 -e USER_ID=b44b6479-45ec-40b9-9d54-4c0965fab66a -e OPERATING_SYSTEM="Windows" -e USEGPUS=true --pull always ionetcontainers/io-launch:v0.1
After entering the script, this is the result in Powershell:
Now, you docker's running normally:
Last updated