You are here
Home > Software Development > DevOps

Installing Docker and Docker-Compose on Ubuntu

Docker apt-get update apt-get install apt-transport-https ca-certificates curl software-properties-common curl -fsSL | sudo apt-key add - apt-key fingerprint 0EBFCD88 add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable" apt-get update apt-get install docker-ce docker -v docker-compose curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose docker-compose --version

Docker Cheatsheet

Docker provides a way to run applications securely isolated in a container, packaged with all its dependencies and libraries.   1. docker in linux can run dotnet 2. docker in windows can run linux An image is a lightweight, stand-alone, executable package that includes everything needed to run a piece of software, including the code,