š addicted on Linux **
š± I’m currently learning Devops , Hacking
šÆ I’m looking to collaborate on open Source projects
š I regularly write articles on https://twinsaitechie.blogspot.com/
š« How to reach me krishnansai71@gmail.com
Github profile
https://github.com/krishnansai
Youtuber Twin Sai Tech
Showing posts with label docker install. Show all posts
Showing posts with label docker install. Show all posts
Thursday, September 8, 2022
Docker automation using Shell script
#!/bin/sh echo "upgrade total system!..." sudo apt upgrade -y echo "system update!..." sudo apt update -y echo "Installing Docker Engine on Ubuntu!..." echo "Uninstalling old versions!.." sudo apt-get remove docker docker-engine docker.io containerd runc echo "Install using the repository!..." echo "Set up the repository!..." echo "Your System is updating!...." sudo apt-get update -y echo "Install packages to allow apt to use a repository over HTTPS" sudo apt-get install -y \ apt-transport-https \ ca-certificates \ curl \ gnupg \ lsb-release echo "Add Docker's official GPG key!..." curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --batch --yes --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo "To set up the stable repository" echo \ "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null echo "Installling Docker Engine" echo "Your System is updating!...." sudo apt-get update -y echo "Installing the latest version of Docker Engine and containerd!..." sudo apt-get install -y docker-ce docker-ce-cli containerd.io echo "To install a specific version of Docker Engine!..." echo "List the versions available in your repo!..." sudo apt-cache madison docker-ce echo "Install a specific version!..." sudo apt-get install -y docker-ce=5:20.10.6~3-0~ubuntu-focal docker-ce-cli=5:20.10.6~3-0~ubuntu-focal containerd.io echo "Check Docker Engine is installed correctly by running the hello-world image!.." sudo docker run docker/whalesay cowsay Docker! echo "Docker is Successfull Installed!..."
Subscribe to:
Posts (Atom)
Argocd with rollouts examples
examples in My github https://github.com/krishnansai/argocd-rollouts.git ArogoCd with ArgoRollouts Rollouts.yml # This example demonst...
-
This tool is help us to create a server and port forwarding it and tansfer the file to one system to another system easyly with out any soft...
-
examples in My github https://github.com/krishnansai/argocd-rollouts.git ArogoCd with ArgoRollouts Rollouts.yml # This example demonst...
