Giter VIP home page Giter VIP logo

docker-familiar's Introduction

docker-familiar

My systematised knowledge about docker.

Instalation

To clone this repository please run this command:

git clone --recursive [email protected]:szewczykmira/docker-familiar.git

Dictrionary

Image - everything needed to run container - the code/binary, runtimes, dependencies and other objects required. Container - running process isolated from host and other containers. Every container has its own filesystem. Build - Build image with proper context

Notes:

host.docker.internal - you can use inside contianer to connect with host machine

Image

docker image ls/docker images list all images

Container

docker container ls / docker ps list all containers

      --all show all containers as default shows only running containers

docker container rm / docker rm - remove container(s)

      --force/-f allows to remove running containers

Build

docker build build image from Dockerfile

       --tag/-t name image with optional tag (name:tag)

Run

docker run - Runs image as a container

       --publish/-p publish containers traffic to the host (host:container)

       --detach/-d run container in background

       --name specify a name for container which you can refer to your container

Stop

docker stop <name> - stopps running container

docker-familiar's People

Contributors

szewczykmira 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.