Why apt install containerd will remove containerd.io and docker-ce?

  apt, containerd, docker

When installing containerd

➜  apt install -y containerd
The following packages were automatically installed and are no longer required:
  docker-ce-rootless-extras pigz
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  runc
The following packages will be REMOVED:
  containerd.io docker-ce
The following NEW packages will be installed:
  containerd runc

When installing docker

➜  apt install docker-ce docker-ce-cli containerd.io                                                                                                        
The following packages will be REMOVED:                                                                                                                                
  containerd runc                                                                                                                                                      
The following NEW packages will be installed:                                                                                                                          
  containerd.io docker-ce docker-ce-cli     

Source: Docker Questions

LEAVE A COMMENT