Logo
  • Login
  • Register

Sajanvethakumar Francis Avatar Sajanvethakumar Francis  answered SAMUEL RUFUS's question. 6 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
Elizabeth Rosalind Rebecca R
Elizabeth Rosalind Rebecca R 7 days ago
sudo systemctl status httpd (if we are checking for apache)
FAROOK S
FAROOK S 7 days ago
systemctl start && enable httpd(in dnf) and apache2(in apt)
KavyaKannan K
KavyaKannan K 13 days ago
On-Demand Instance offers the most flexibility because we can launch or stop the instance anytime without any long-term commitment.
FAROOK S
FAROOK S 19 days ago
Hibernate is like sleep mode we continue the process where we stop Stopped means ( shutting down our instance (os))
FAROOK S
FAROOK S 19 days ago
Pending,running, stopping,stopped, shutdown, terminate
    Please login to ask, answer, share, like, and vote.
    Trending
    No results found for your query.
    • Terms
    • Privacy Policy

    Copyright © 2026 . All rights reserved.

    • available in

      EnglishEnglishDutchDutchGermanGermanSpanishSpanish
      ArabicArabicFrenchFrenchRussianRussianTurkishTurkish
    • Terms
    • Privacy Policy

    Copyright © 2026 . All rights reserved.

    • available in

      EnglishEnglishDutchDutchGermanGermanSpanishSpanish
      ArabicArabicFrenchFrenchRussianRussianTurkishTurkish