![]() ![]() However when I run sudo yum install -y docker-ce I get version 18.09.1. Then add the docker-ce repository with this command Yum install -y yum-utils device-mapper-persistent-data lvm2 If not installed already install docker-ce dependencies Vim /etc/fstab, then edit the line that shows something like dev/mapper/centos-swap swap Sed -i -follow-symlinks ‘s/SELINUX=enforcing/SELINUX=disabled/g’ /etc/sysconfig/selinuxĮcho ‘1’ > /proc/sys/net/bridge/bridge-nf-call-iptables I’ve also done the following steps to prepare for a kubernetes cluster:Įdit the /etc/hosts file and put in the IP and name of each machine in the cluster on each hostĭisable SELinux and swap with the following commands How for the life of me do I install docker-ce-18.06.1? I have created a new CentOS 7 machine, have run yum update to have everything latest on there. From what I see Kubernetes (kubeadm?) isn’t validated against Docker 18.09.1, but is against 18.06.1. This happens when that specific version of containerd.io is not yet added to the CentOS repository.Ok so I’m new to Docker and am trying to setup a Kubernetes cluster (as requested at my work). Otherwise, if it fails that the docker-ce requires containerd.io version to be higher than a specific version, then you can fix this by installing the containerd.io manually. If you have successfully installed Docker, then you can skip this step and proceed to configure Docker section. Next, install Docker by running the command: sudo yum install docker-ce docker-ce-cli containerd.io This will remove conflicting podman and buildah: sudo yum erase podman buildah In case that you are getting an error that containerd.io conflicts with runc, or similar below, Now that we have our prerequisites installed, we are now ready to setup Docker. To add, install the yum-utils first and then add the repo. sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engineĪdd the Docker repository in your CentOS machine. To uninstall old docker, run the command below. ![]() If you have an older version of Docker, uninstall it first. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |