0 likes | 23 Views
Visualpath provides the best Kubernetes Certification Training Worldwide led by real-time instructors. Avail complete job-oriented Docker and Kubernetes Training Course by simply enrolling in our institute in Ameerpet. Enroll for a Free Demo. Call 91-9989971070.<br>Visit Blog: https://visualpathblogs.com/<br>WhatsApp: https://www.whatsapp.com/catalog/919989971070/<br>Visit: https://www.visualpath.in/DevOps-docker-kubernetes-training.html
E N D
Guide to Manual Deployment of Docker CE on Ubuntu and CentOS Introduction: Docker, the leading containerization platform, allows developers to package applications and their dependencies into lightweight containers, ensuring consistency across various environments. Docker Community Edition (Docker CE) is a free and open-source version of Docker that is widely used in development environments. Docker and Kubernetes Training Prerequisites: Before we begin, ensure that your system meets the following prerequisites: A running instance of Ubuntu (20.04 or later) or CentOS (7 or 8). A user account with sudo privileges. An internet connection to download Docker packages. Manual Deployment of Docker CE on Ubuntu: Update Your System: Start by updating your package index to ensure that you have the latest versions of the software packages. “sudo apt update sudo apt upgrade –y” Install Required Dependencies:
Docker requires certain dependencies to be installed on your system. These include apt-transport-https, ca-certificates, curl, software-properties-common, and gnupg. Kubernetes Online Training “sudo apt install apt-transport-https ca-certificates curl software-properties- common gnupg –y” Add Docker’s Official GPG Key: Next, add Docker’s official GPG key to your system. This key is used to verify the authenticity of the Docker packages. “curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –“ Add Docker Repository: Now, add the Docker APT repository to your system’s software source list. “sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" Install Docker CE: Update your package index again to include Docker’s repository, and then install Docker CE. Docker Online Training “sudo apt update sudo apt install docker-ce docker-ce-cli containerd.io –y” Verify Docker Installation: After installation, verify that Docker is installed correctly by checking its version. “docker –version” You can also run a test container to ensure everything is working properly: “sudo docker run hello-world” Manual Deployment of Docker CE on CentOS: Update Your System: Just like with Ubuntu, start by updating your CentOS system. “sudo yum update –y”
Install Required Packages: Docker requires certain prerequisites to be installed. These include yum-utils, device-mapper-persistent-data, and lvm2. “sudo yum install -y yum-utils device-mapper-persistent-data lvm2” Add Docker Repository: Add the Docker repository to your system using the yum-config-manager command. Kubernetes Certification Training “sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo” Install Docker CE: With the repository added, install Docker CE using the following command: “sudo yum install docker-ce docker-ce-cli containerd.io –y” Start and Enable Docker: Once Docker is installed, start the Docker service and enable it to start on boot. “sudo systemctl start docker sudo systemctl enable docker” Conclusion: Deploying Docker CE on Ubuntu and CentOS is a straightforward process that enables you to start using containerization technology quickly. Whether you're a developer looking to streamline your application deployment process or an IT professional aiming to enhance your infrastructure's flexibility, Docker offers powerful tools to achieve your goals. Contact us +91-9989971070 Register now for Docker and Kubernetes Online Training Visit: https://www.visualpath.in/DevOps-docker-kubernetes-training.html Visit Blog: https://visualpathblogs.com/