Code Monkey home page Code Monkey logo

docker's Introduction

Docker

Will create multiple set of scripts for clarity. Version details:

  • OS: Win10 Home
  • Docker version 19.03.5, build 633a0ea

Basic/useful commands

For details check my blog: http://sv-technical.blogspot.com/2019/12/terraform.html

  • Check version -> docker --version
  • List images -> docker image ls
  • List all container -> docker container ls --all
  • Delete stopped containers -> docker container prune
  • Display processes or stopped processes (-a) -> docker ps or docker ps -a

1-web-server

This folder contains sample scripts that

  • create docker image from httpd with version 2.4
  • Dockerfile -> has commands to be executed once docker is created
    • in this case files will be copied from source to destination
  • For more details go to folder and refer README.md

2-multiple-web-servers

This folder contains sample scripts that

  • create docker image from httpd with version 2.4
  • Configure multiple virtual hosts
    • You need to add those names to local hosts file to test on local system (C:\Windows\System32\drivers\etc\hosts)
    • copy config for httpd vhosts
    • copy different folders for different hosts
  • Different folder contents delivered for different hosts
  • For more details go to folder and refer README.md

docker's People

Contributors

svermaji avatar

Stargazers

 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.