Created
September 24, 2018 04:06
-
-
Save ProfAvery/92c4c1d9287988018b97c421660c179f to your computer and use it in GitHub Desktop.
Try to recover from issues with Labtainers by removing all containers and re-installing.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# In case of Labtainer catastrophe, try this. | |
# Remove all containers: | |
for container in $(docker ps --all --quiet) | |
do | |
docker rm --force $container | |
done | |
# Update Labtainers just in case: | |
~/labtainer/update-labtainer.sh | |
# Run the labtainer command again, and hope for the best... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment