1. uninstall the docker ce package

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$ sudo systemctl enable docker
Synchronizing state of docker.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable docker
user@user-virtual-machine:~$ sudo systemctl disable docker
Synchronizing state of docker.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install disable docker
insserv: warning: current start runlevel(s) (empty) of script `docker' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `docker' overrides LSB defaults (0 1 6).
user@user-virtual-machine:~$ echo manual |sudo tee /etc/init/docker.override
manual
user@user-virtual-machine:~$ sudo chkconfig docker on
sudo: chkconfig: command not found
user@user-virtual-machine:~$ sudo chkconfig docker on
sudo: chkconfig: command not found
user@user-virtual-machine:~$ sudo apt-get purge docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  aufs-tools cgroupfs-mount
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  docker-ce*
0 upgraded, 0 newly installed, 1 to remove and 90 not upgraded.
After this operation, 102 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 213927 files and directories currently installed.)
Removing docker-ce (17.10.0~ce-0~ubuntu) ...
Purging configuration files for docker-ce (17.10.0~ce-0~ubuntu) ...
Processing triggers for man-db (2.7.5-1) ...
 
cs



2. dock 디렉터리 삭제

1
2
$ sudo rm -rf /var/lib/docker/
 
cs



'Tools > Docker' 카테고리의 다른 글

Docker Toolbox 설치  (0) 2017.10.31
docker log 확인  (0) 2017.10.30
docker image 목록 확인  (0) 2017.10.30
docker container 실행 중지  (0) 2017.10.30
[알림] The program 'mysql' can be found in the following packages  (0) 2017.10.30

+ Recent posts