Recently, I did two presentations on this topic, and during the local environment setup, I got a few errors. This blog post will mention those common issues and how I fixed them to make them work.
This error comes when we have the diff controller name (JSS rendering) the name should be the same and consistant,
Recreating the container resolve this issue -
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
kill all running containers with docker kill $(docker ps -q)
Same as above, recreating the container.
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
kill all running containers with docker kill $(docker ps -q)
Same as above, recreating the container.
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
kill all running containers with docker kill $(docker ps -q)
docker rm $(docker ps -a -q)
docker system prune
docker image prune
docker container prune
kill all running containers with docker kill $(docker ps -q)
delete all stopped containers with docker rm $(docker ps -a -q)
delete all images with docker rmi $(docker images -q)
update and stop a container that is in a crash-loop with docker update --restart=no && docker stop
Get docker container disk utilization: docker system df
No comments:
Post a Comment