All the installation instructions are for Ubuntu. For other OS, visit full documentation
1. Docker Installation - Documentation
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
------------------OR---------------------
sudo apt install docker.io
2. Docker-Compose Installation - Documentation
sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
get-docker.sh
file is retrieved from docker repository. It helps in installing docker-ce on a non-production enviroment.
3. Installing Kubernetes - Documentation
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
create a file /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
Update the packages
sudo apt update
Install Kubernetes
sudo apt install -y kubelet kubeadm kubectl
- Additional Configs
ToDO
ToDo
* Install Kubernetes Dashboard
ToDo
ToDo
* ToDo:
* Add Sample Dockerfile and docker-compose file and explanation
* Add kubernetes sample file and explanation