Giter Club home page Giter Club logo

docker_practice's Introduction

Docker Practice

Examples and practice with docker

Official site

Documentation

Installation on Linux:

(following guide from https://techviewleo.com/how-to-install-and-use-docker-in-linux-mint/)

Update your system First ensure that your system packages are updated

sudo apt-get update

Install Docker dependencies and add Docker official key APT does not use HTTPS and it is crucial to install the packages and dependencies that will enable it to use a repository through https

sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

Next add Docker official key which is important in enabling Docker repo.

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Adding Docker repository Next thing is to add Docker repository to Linux Mint. The variable ‘$ (. /etc/os-release; echo “$ubuntu-codename”)’ ensures that you are using the right distribution of your Linux Mint

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(. /etc/os-release; echo "$UBUNTU_CODENAME") stable"

Update your system again

sudo apt-get update

Install Docker CE on Linux Mint 20 Run the below command to install the latest version of Docker CE

sudo apt-get -y install docker-ce

Once installed a docker group will be created. Add your user to the group who will be running docker commands.

sudo usermod -aG docker $USER
newgrp docker

Verify Docker Installation Show docker version

docker --version

The output should show docker version and build Some Docker commands

Docker is used with syntax as shown below:

docker [options] [command] [arguments]

To check options to be used with docker, run:

docker

or

docker help

docker_practice's People

Contributors

adrianjtempelhoff avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.