Logo
  • Home
  • Trending
  • Search
  • Login
  • Register

Sajanvethakumar Francis Avatar Sajanvethakumar Francis  answered SAMUEL RUFUS's question. 10 months ago

How do you uninstall Docker from EC2?

sudo systemctl stop docker
sudo systemctl disable docker

sudo yum remove -y docker docker-client docker-client-latest \
docker-common docker-latest docker-latest-logrotate docker-logrotate \
docker-engine containerd.io runc

sudo rm -rf /var/lib/docker
sudo rm -rf /var/lib/containerd
Related Replies
Dhanraj Selvaraj
Dhanraj Selvaraj 6 hours ago
An Amazon EBS-backed AMI is an AMI whose root device is backed by an Amazon EBS volume, allowing the EC2 instance to be stopped, started, an..
Dhanraj Selvaraj
Dhanraj Selvaraj 6 hours ago
To deregister an AMI in AWS, go to EC2 → AMIs, select the AMI, click Actions → Deregister AMI, and confirm; this removes the AMI from your a..
Siddik Rajkumar
Siddik Rajkumar 17 hours ago
Use sudo systemctl restart httpd to restart Apache after making configuration changes.
Shane Kevin
Shane Kevin 17 hours ago
If a lifecycle policy is disabled, DLM stops executing that policy's automated actions, such as creating new snapshots or AMIs and deleting ..
Shane Kevin
Shane Kevin 17 hours ago
sudo systemctl enable --now httpd
Sign in to post your reply or answer to this question. Login Register
Please login to ask, answer, share, like, and vote.
Trending
No results found for your query.
  • Terms
  • Privacy Policy

Copyright © 2026 Ekasquest - Cloud Computing, DevOps & Tech Q&A Community. All rights reserved.

  • Ekasquest - Cloud Computing, DevOps & Tech Q&A Community available in

    EnglishEnglishDutchDutchGermanGermanSpanishSpanish
    ArabicArabicFrenchFrenchRussianRussianTurkishTurkish
  • Terms
  • Privacy Policy

Copyright © 2026 Ekasquest - Cloud Computing, DevOps & Tech Q&A Community. All rights reserved.

  • Ekasquest - Cloud Computing, DevOps & Tech Q&A Community available in

    EnglishEnglishDutchDutchGermanGermanSpanishSpanish
    ArabicArabicFrenchFrenchRussianRussianTurkishTurkish