Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

🚗 You set the rental price
🔐 Secure bookings with verified renters
📍 Track your vehicle with GPS integration
💰 Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

Docker Tutorials: Remove all Docker Containers, all Images, all Volumes, and all Networks

How to stop all Docker Containers

$ docker container ls -a --filter status=exited --filter status=created
$ docker container stop $(docker container ls -aq)
Code language: JavaScript (javascript)

To delete all containers including its volumes use

$ docker rm -vf $(docker ps -a -q)Code language: JavaScript (javascript)

How to remove all stopped Docker Containers

$ docker container prune

How to delete all Docker Images

# Remove one or more images
docker image rm 75835a67d134 2a4cca5ac898
# Remove all unused images
docker image prune -a
# To delete all the images,
docker rmi -f $(docker images -a -q)Code language: PHP (php)

Removing All Unused Objects

The docker system prune command will remove all stopped containers, all dangling images, and all unused networks:
$ docker system prune

Remove one or more volumes

# If you also want to remove all unused volumes, pass the --volumes flag:
docker system prune --volumes
$ docker volume rm 4e12af8913af888ba67243dec78419bf18adddc3c7a4b2345754b6db64293163

# Remove all unused volumes
$ docker volume pruneCode language: PHP (php)

Docker Tutorials Fundamental To Advanced-2021 Crash Course:- https://bit.ly/3hOIbTB

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x