Docker Installation

Docker Installation on Ubuntu, CentOS and SuSE   Docker Installation on Ubuntu 1. Uninstall old docker, if there. #apt-get remove docker docker-engine docker.io 2. Update apt package index #apt-get update 3. Install supporting packages #apt-get install apt-transport-https ca-certificates curl software-properties-common 4. Add docker official GPG key and verify it #curl -fsSL https://download.docker.com/linux/ubuntu/gpg |apt-key add – #apt-key fingerprint 0EBFCD88 (Verify GPG Key. Given string should be matched) 5. Add stable REPO #add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” 6. Update apt index #apt-get