Docker Community Forums

Share and learn in the Docker community.

Fedora, Gnome Boxes, KVM, QEMU, etc. and Docker

Fedora Workstation 34 x86_64 Fresh install

I was following Install Docker Engine on Fedora from the Docker Documentation.

The section Uninstall old versions has the following code:

 sudo dnf remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine

I’m informed that all those packages are not found on my system except docker-selinux, which running dnf provides docker-selinux reveals that container-selinux provides docker-selinux.

My issue is that by doing the above command from Docker Documentation I get rid of a lot of software that I would like to continue to use. Would I be able to reinstall all of these afterwards or would I have to uninstall Docker? Does Docker provide its own container-selinux, is there documentation as to how and why it was neccessary to modify or delete container-selinux? If a replacement container-selinux is installed, does it stand to reason that the other programs will become unstable due to differences?

List of packages removed, dnf history info:

Command Line   : remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine
Comment        : 
Packages Altered:
    Removed capstone-4.0.2-4.fc34.x86_64                                   @@System
    Removed container-selinux-2:2.160.0-2.fc34.noarch                      @@System
    Removed corosynclib-3.1.2-1.fc34.x86_64                                @@System
    Removed cyrus-sasl-2.1.27-8.fc34.x86_64                                @@System
    Removed device-mapper-multipath-libs-0.8.5-4.fc34.x86_64               @@System
    Removed edk2-ovmf-20200801stable-4.fc34.noarch                         @@System
    Removed flatpak-selinux-1.10.2-3.fc34.noarch                           @@System
    Removed fmt-7.1.3-2.fc34.x86_64                                        @@System
    Removed genisoimage-1.1.11-47.fc34.x86_64                              @@System
    Removed glusterfs-9.1-1.fc34.x86_64                                    @@System
    Removed glusterfs-cli-9.1-1.fc34.x86_64                                @@System
    Removed glusterfs-client-xlators-9.1-1.fc34.x86_64                     @@System
    Removed glusterfs-fuse-9.1-1.fc34.x86_64                               @@System
    Removed gnome-boxes-40.0-2.fc34.x86_64                                 @@System
    Removed gnutls-dane-3.7.1-2.fc34.x86_64                                @@System
    Removed gnutls-utils-3.7.1-2.fc34.x86_64                               @@System
    Removed gtk-vnc2-1.0.0-4.fc34.x86_64                                   @@System
    Removed gvnc-1.0.0-4.fc34.x86_64                                       @@System
    Removed ipxe-roms-qemu-20200823-2.git4bd064de.fc34.noarch              @@System
    Removed jq-1.6-7.fc34.x86_64                                           @@System
    Removed libcacard-3:2.8.0-2.fc34.x86_64                                @@System
    Removed libfdt-1.6.0-4.fc34.x86_64                                     @@System
    Removed libgfapi0-9.1-1.fc34.x86_64                                    @@System
    Removed libgfrpc0-9.1-1.fc34.x86_64                                    @@System
    Removed libgfxdr0-9.1-1.fc34.x86_64                                    @@System
    Removed libglusterd0-9.1-1.fc34.x86_64                                 @@System
    Removed libglusterfs0-9.1-1.fc34.x86_64                                @@System
    Removed libiscsi-1.19.0-3.fc34.x86_64                                  @@System
    Removed libnfs-4.0.0-4.fc34.x86_64                                     @@System
    Removed libphodav-2.5-3.fc34.x86_64                                    @@System
    Removed libpmem-1.10-3.fc34.x86_64                                     @@System
    Removed libpmemobj-1.10-3.fc34.x86_64                                  @@System
    Removed libqb-2.0.3-1.fc34.x86_64                                      @@System
    Removed librados2-2:16.2.1-1.fc34.x86_64                               @@System
    Removed librbd1-2:16.2.1-1.fc34.x86_64                                 @@System
    Removed librdmacm-34.0-3.fc34.x86_64                                   @@System
    Removed libssh2-1.9.0-7.fc34.x86_64                                    @@System
    Removed libtpms-0.8.2-0.20210301git729fc6a4ca.fc34.1.x86_64            @@System
    Removed libusal-1.1.11-47.fc34.x86_64                                  @@System
    Removed libvirt-daemon-7.0.0-4.fc34.x86_64                             @@System
    Removed libvirt-daemon-config-network-7.0.0-4.fc34.x86_64              @@System
    Removed libvirt-daemon-driver-interface-7.0.0-4.fc34.x86_64            @@System
    Removed libvirt-daemon-driver-network-7.0.0-4.fc34.x86_64              @@System
    Removed libvirt-daemon-driver-nodedev-7.0.0-4.fc34.x86_64              @@System
    Removed libvirt-daemon-driver-nwfilter-7.0.0-4.fc34.x86_64             @@System
    Removed libvirt-daemon-driver-qemu-7.0.0-4.fc34.x86_64                 @@System
    Removed libvirt-daemon-driver-secret-7.0.0-4.fc34.x86_64               @@System
    Removed libvirt-daemon-driver-storage-7.0.0-4.fc34.x86_64              @@System
    Removed libvirt-daemon-driver-storage-core-7.0.0-4.fc34.x86_64         @@System
    Removed libvirt-daemon-driver-storage-disk-7.0.0-4.fc34.x86_64         @@System
    Removed libvirt-daemon-driver-storage-gluster-7.0.0-4.fc34.x86_64      @@System
    Removed libvirt-daemon-driver-storage-iscsi-7.0.0-4.fc34.x86_64        @@System
    Removed libvirt-daemon-driver-storage-iscsi-direct-7.0.0-4.fc34.x86_64 @@System
    Removed libvirt-daemon-driver-storage-logical-7.0.0-4.fc34.x86_64      @@System
    Removed libvirt-daemon-driver-storage-mpath-7.0.0-4.fc34.x86_64        @@System
    Removed libvirt-daemon-driver-storage-rbd-7.0.0-4.fc34.x86_64          @@System
    Removed libvirt-daemon-driver-storage-scsi-7.0.0-4.fc34.x86_64         @@System
    Removed libvirt-daemon-driver-storage-sheepdog-7.0.0-4.fc34.x86_64     @@System
    Removed libvirt-daemon-driver-storage-zfs-7.0.0-4.fc34.x86_64          @@System
    Removed libvirt-daemon-kvm-7.0.0-4.fc34.x86_64                         @@System
    Removed libvirt-gconfig-4.0.0-1.fc34.x86_64                            @@System
    Removed libvirt-glib-4.0.0-1.fc34.x86_64                               @@System
    Removed libvirt-gobject-4.0.0-1.fc34.x86_64                            @@System
    Removed libvirt-libs-7.0.0-4.fc34.x86_64                               @@System
    Removed libwsman1-2.6.8-19.fc34.x86_64                                 @@System
    Removed lttng-ust-2.12.0-4.fc34.x86_64                                 @@System
    Removed lzop-1.04-6.fc34.x86_64                                        @@System
    Removed mdevctl-0.78-2.fc34.noarch                                     @@System
    Removed numactl-libs-2.0.14-3.fc34.x86_64                              @@System
    Removed numad-0.5-34.20150602git.fc34.x86_64                           @@System
    Removed oniguruma-6.9.6-1.fc34.2.x86_64                                @@System
    Removed qemu-audio-alsa-2:5.2.0-5.fc34.1.x86_64                        @@System
    Removed qemu-audio-oss-2:5.2.0-5.fc34.1.x86_64                         @@System
    Removed qemu-audio-pa-2:5.2.0-5.fc34.1.x86_64                          @@System
    Removed qemu-audio-sdl-2:5.2.0-5.fc34.1.x86_64                         @@System
    Removed qemu-audio-spice-2:5.2.0-5.fc34.1.x86_64                       @@System
    Removed qemu-block-curl-2:5.2.0-5.fc34.1.x86_64                        @@System
    Removed qemu-block-dmg-2:5.2.0-5.fc34.1.x86_64                         @@System
    Removed qemu-block-gluster-2:5.2.0-5.fc34.1.x86_64                     @@System
    Removed qemu-block-iscsi-2:5.2.0-5.fc34.1.x86_64                       @@System
    Removed qemu-block-nfs-2:5.2.0-5.fc34.1.x86_64                         @@System
    Removed qemu-block-rbd-2:5.2.0-5.fc34.1.x86_64                         @@System
    Removed qemu-block-ssh-2:5.2.0-5.fc34.1.x86_64                         @@System
    Removed qemu-char-baum-2:5.2.0-5.fc34.1.x86_64                         @@System
    Removed qemu-char-spice-2:5.2.0-5.fc34.1.x86_64                        @@System
    Removed qemu-common-2:5.2.0-5.fc34.1.x86_64                            @@System
    Removed qemu-device-display-qxl-2:5.2.0-5.fc34.1.x86_64                @@System
    Removed qemu-device-display-virtio-gpu-2:5.2.0-5.fc34.1.x86_64         @@System
    Removed qemu-device-display-virtio-gpu-pci-2:5.2.0-5.fc34.1.x86_64     @@System
    Removed qemu-device-display-virtio-vga-2:5.2.0-5.fc34.1.x86_64         @@System
    Removed qemu-device-usb-redirect-2:5.2.0-5.fc34.1.x86_64               @@System
    Removed qemu-device-usb-smartcard-2:5.2.0-5.fc34.1.x86_64              @@System
    Removed qemu-img-2:5.2.0-5.fc34.1.x86_64                               @@System
    Removed qemu-kvm-2:5.2.0-5.fc34.1.x86_64                               @@System
    Removed qemu-system-x86-2:5.2.0-5.fc34.1.x86_64                        @@System
    Removed qemu-system-x86-core-2:5.2.0-5.fc34.1.x86_64                   @@System
    Removed qemu-ui-curses-2:5.2.0-5.fc34.1.x86_64                         @@System
    Removed qemu-ui-egl-headless-2:5.2.0-5.fc34.1.x86_64                   @@System
    Removed qemu-ui-gtk-2:5.2.0-5.fc34.1.x86_64                            @@System
    Removed qemu-ui-opengl-2:5.2.0-5.fc34.1.x86_64                         @@System
    Removed qemu-ui-sdl-2:5.2.0-5.fc34.1.x86_64                            @@System
    Removed qemu-ui-spice-app-2:5.2.0-5.fc34.1.x86_64                      @@System
    Removed qemu-ui-spice-core-2:5.2.0-5.fc34.1.x86_64                     @@System
    Removed radvd-2.19-2.fc34.x86_64                                       @@System
    Removed rpm-plugin-selinux-4.16.1.3-1.fc34.x86_64                      @@System
    Removed seabios-bin-1.14.0-2.fc34.noarch                               @@System
    Removed seavgabios-bin-1.14.0-2.fc34.noarch                            @@System
    Removed selinux-policy-34.4-1.fc34.noarch                              @@System
    Removed selinux-policy-targeted-34.4-1.fc34.noarch                     @@System
    Removed sgabios-bin-1:0.20180715git-6.fc34.noarch                      @@System
    Removed sheepdog-1.0.1-14.fc34.x86_64                                  @@System
    Removed spice-glib-0.39-2.fc34.x86_64                                  @@System
    Removed spice-gtk3-0.39-2.fc34.x86_64                                  @@System
    Removed spice-server-0.14.3-3.fc34.x86_64                              @@System
    Removed swtpm-0.5.2-2.20201226gite59c0c1.fc34.x86_64                   @@System
    Removed swtpm-libs-0.5.2-2.20201226gite59c0c1.fc34.x86_64              @@System
    Removed swtpm-tools-0.5.2-2.20201226gite59c0c1.fc34.x86_64             @@System
    Removed systemd-container-248-2.fc34.x86_64                            @@System
    Removed usbredir-0.9.0-1.fc34.x86_64                                   @@System
    Removed userspace-rcu-0.12.1-3.fc34.x86_64                             @@System
    Removed virglrenderer-0.8.2-3.20200212git7d204f39.fc34.x86_64          @@System
    Removed xen-libs-4.14.1-7.fc34.x86_64                                  @@System
    Removed xen-licenses-4.14.1-7.fc34.x86_64                              @@System
    Removed zfs-fuse-0.7.2.2-18.fc34.x86_64                                @@System
Scriptlet output:
   1 warning: file /run/gluster/metrics: remove failed: No such file or directory
   2 Removed /etc/systemd/system/multi-user.target.wants/libvirtd.service.
   3 Removed /etc/systemd/system/sockets.target.wants/libvirtd-ro.socket.
   4 Removed /etc/systemd/system/sockets.target.wants/libvirtd.socket.
   5 Removed /etc/systemd/system/sockets.target.wants/virtlockd.socket.
   6 Removed /etc/systemd/system/sockets.target.wants/virtlogd.socket.
   7 Warning: Stopping libvirtd.service, but it can still be activated by:
   8   libvirtd-admin.socket
   9   libvirtd-ro.socket
  10   libvirtd.socket
  11 Removing files since we removed the last package
1 Like

+1. Upgraded Fedora from a fresh install of 32 (I think?)

dnf remove docker-selinux

leads to

Removing:
 container-selinux                          
Removing dependent packages:
 containerd.io                              
 fail2ban-selinux                           
 flatpak-selinux                            
 gnome-boxes                                
 mysql-selinux                              
 selinux-policy-targeted                    
Removing unused dependencies:
 capstone                                   
 corosynclib                                
 edk2-ovmf                                  
 fmt                                        
 genisoimage                                
 glusterfs                                  
 glusterfs-cli                              
 glusterfs-client-xlators                   
 glusterfs-fuse                             
 gnutls-dane                                
 gnutls-utils                               
 gtk-vnc2                                   
 gvnc                                       
 jq                                         
 libcacard                                  
 libgfapi0                                  
 libglusterd0                               
 libiscsi                                   
 libnfs                                     
 libphodav                                  
 libpmem                                    
 libpmemobj                                 
 libqb                                      
 librados2                                  
 librbd1                                    
 librdmacm                                  
 libtpms                                    
 libusal                                    
 libvirt-daemon-driver-interface            
 libvirt-daemon-driver-nodedev              
 libvirt-daemon-driver-nwfilter             
 libvirt-daemon-driver-qemu                 
 libvirt-daemon-driver-secret               
 libvirt-daemon-driver-storage              
 libvirt-daemon-driver-storage-core         
 libvirt-daemon-driver-storage-disk         
 libvirt-daemon-driver-storage-gluster      
 libvirt-daemon-driver-storage-iscsi        
 libvirt-daemon-driver-storage-iscsi-direct 
 libvirt-daemon-driver-storage-logical      
 libvirt-daemon-driver-storage-mpath        
 libvirt-daemon-driver-storage-rbd          
 libvirt-daemon-driver-storage-scsi         
 libvirt-daemon-driver-storage-sheepdog     
 libvirt-daemon-driver-storage-zfs          
 libvirt-daemon-kvm                         
 libvirt-gconfig                            
 libvirt-glib                               
 libvirt-gobject                            
 lttng-ust                                  
 lzop                                       
 mdevctl                                    
 qemu-audio-alsa                            
 qemu-audio-oss                             
 qemu-audio-pa                              
 qemu-audio-sdl                             
 qemu-audio-spice                           
 qemu-block-curl                            
 qemu-block-dmg                             
 qemu-block-gluster                         
 qemu-block-iscsi                           
 qemu-block-nfs                             
 qemu-block-rbd                             
 qemu-block-ssh                             
 qemu-char-baum                             
 qemu-device-display-qxl                    
 qemu-device-display-virtio-gpu             
 qemu-device-display-virtio-gpu-pci         
 qemu-device-display-virtio-vga             
 qemu-device-usb-redirect                   
 qemu-device-usb-smartcard                  
 qemu-img                                   
 qemu-kvm                                   
 qemu-system-x86                            
 qemu-system-x86-core                       
 qemu-ui-curses                             
 qemu-ui-egl-headless                       
 qemu-ui-gtk                                
 qemu-ui-sdl                                
 rpm-plugin-selinux                         
 seabios-bin                                
 seavgabios-bin                             
 selinux-policy                             
 sgabios-bin                                
 sheepdog                                   
 spice-glib                                 
 spice-gtk3                                 
 swtpm                                      
 swtpm-libs                                 
 swtpm-tools                                
 systemd-container                          
 usbredir                                   
 xen-libs                                   
 xen-licenses                               
 zfs-fuse                                   

Transaction Summary
============================================
Remove  102 Packages

Freed space: 272 M
Is this ok [y/N]: n

I’m not eager to proceed with this. Any help appreciated!