apt-get remove docker

How do you remove docker in Linux / UNIX using apt-get command?

How to Uninstall docker in Linux with apt-get?

apt-get remove docker -y

Remove Docker  Remove Command

Here is the tutorial to learn how to uninstall docker with apt-get command.

Step 1: Open a terminal with 'su' access and enter the command as shown below.
apt-get remove docker -y

Step 2: The command reads the package lists and proceeds with the uninstallation.

Result of the Command Execution shown below:

root@hiox:~ apt-get remove docker -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libcache cache perl courier authlib texlive common libproc processtable perl
php fpdf libdatetime format mail perl libdevel symdump perl libsm dev
libgd text perl libchart perl libnet daemon perl libsys cpuload perl
libdb je java junit4 pure ftpd common libnet ssleay perl
libcrypt openssl rsa perl rpm2cpio djbdns pure ftpd mysql postgresql 8.4
libyaml tiny perl bind9 libexception class perl dx doc courier imap ssl
libice dev eclipse jdt realpath fakeroot libfilesys df perl
libauthen sasl perl sasl2 bin libdb4.7 java eclipse platform data
libunshield0 emacs23 bin common libproc process perl libconvert tnef perl
libgd graph3d perl libio stringy perl db4.8 util libgcj bc gcj 4.4 base
libreadonly perl libclone perl libpthread stubs0 libpam unix2 eclipse pde
libjtidy java libgd gd2 perl libapache2 mod log sql ssl libicu4j java
courier base eclipse rcp libapache2 mod log sql mysql libservlet2.4 java
dxsamples libdb4.7 java gcj libsox fmt base rrdtool clamav mysql server
bind9utils libossp uuid perl g++ 4.4 junit lmodern php5 libreadonly xs perl
libcrypt ssleay perl unshield libsox fmt alsa eclipse plugin cvs libdbi perl
ncftp libjson xs perl libdevel stacktrace perl libarchive zip perl
libmime tools perl libstring shellquote perl courier pop ssl
texlive extra utils liblog log4perl perl ed libnusoap php librpmio0
libjson perl librpm0 rpm common dspam librrd4 gcj 4.4 jre lib libdshconfig1
libipc sharelite perl gettext base libhtml template perl libjs prototype
libapache2 mod php5 clamav base daemontools dtc common g++
libperl6 junction perl libclamav6 libfcgi perl libcommons compress java
dspam doc libnet jabber perl php5 gd x11proto kb dev luatex libdvbpsi5
libebox libdspam7 libgcj10 libfile mmagic perl libdatetime timezone perl
php mail mime libfile slurp perl libapache2 reload perl libid3 3.8.3c2a
libmail rfc822 address perl libdatetime format w3cdtf perl courier pop tcsh
procmail xtrans dev libxml stream perl php xml serializer libnet cidr perl
libxcrypt1 libelf1 texlive binaries courier ssl gettext sbox dtc
libgd graph perl ant libnss mysql bg php pear x11proto input dev default jdk
libjsch java libgnome2 gconf perl libsoap lite perl php5 curl libt1 5
jarwrapper cvs libjs scriptaculous libxml rss perl ant optional
libparams validate perl libbsd resource perl libpam mysql expect
libfile tail perl libreadline5 mlmmj texlive luatex libxt dev
libnet server perl libhdf4 0 daemontools run postgresql common
libdbd mysql perl libclass container perl libdatetime perl
liblog dispatch perl pax lesstif2 sat4j postfix mysql postgresql
libsys cpu perl libcommons el java postgresql client 8.4
libcompress raw zlib perl cabextract courier authdaemon
libdatetime locale perl libapache2 mod perl2 webalizer libgsm1
build essential libxau dev dpkg dev libdx4 rpm courier authlib userdb
librpmbuild0 libtask weaken perl courier imap sox courier maildrop
mysql client libslf4j java libasm3 java libnet xmpp perl dwm tools
emacsen common libplrpc perl texlive base libregexp java xz utils
wwwconfig common php xml parser mhonarc libdbd pg perl fastjar
clamav freshclam libjasper java libapache2 mod log sql libmail dkim perl
emacs23 libconvert uulib perl chrootuid postgresql client common libdb4.6
libdb4.7 libberkeleydb perl ant optional gcj texlive doc base libpq5
amavisd new libid3tag0 libio multiplex perl libhamcrest java liblucene2 java
php5 mysql libx11 dev libequinox osgi java liblist moreutils perl
libclass data inheritable perl libintl perl patch eclipse platform
libgcj common libcommon sense perl php5 cli courier authlib mysql
php crypt cbc libsox1a libnet libidn perl libapache singleton perl
emacs23 common libxcb1 dev openjdk 6 jdk libconvert binhex perl ant gcj
libcommons digester java clamav daemon libio socket ssl perl
libhtml mason perl libjetty java libossp uuid16 php mail mimedecode
ucspi tcp librsync1 php5 common openbsd inetd libjline java mysql server 5.1
tex common libclass singleton perl libnet1 lacheck x11proto core dev
javascript common libxdmcp dev libpthread stubs0 dev libunix syslog perl
libcrypt openssl bignum perl mysql client 5.1 libnids1.21 libnetcdf4
libstdc++6 4.4 dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
docker
0 upgraded, 0 newly installed, 1 to remove and 49 not upgraded.
After this operation, 90.1kB disk space will be freed.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 200871 files and directories currently installed.)
Removing docker ...
Processing triggers for man db ...
root@hiox:~


Related Topics

Apt Get Commands