TDP DevOps – Day 2 Assignment

1) What is Docker ?

Docker is platform for developing and running applications and software in packages called containers. Docker is a collaboration between development and operations teams which enables continuous delivery of applications and services to the end users. It is a tool that which is used to automate the deployment of software in containers so that applications can work efficiently in diverse environments. Docker enables multiple containers run on the same hardware and maintains isolated applications that leads to high productivity.

See the source image

2) What is Container ? — 5 lines with 1 image.

Containers are software packages that contain all of the necessary elements to run in any environment. A single container can be used to run anything from microservice to large application. Container is a standalone executable software package that includes everything needed to run an application examples includes code, runtime, system tools, system libraries and settings. Container can be created, start, stop, move, delete using Docker. It is a form of operating system virtualization. Docker images are read-only templates used to build containers, containers are deployed instances created from those templates.

See the source image
Docker Containers

3) What are top five advantages of docker ?

  1. High speed and agility
  2. Consistent and isolated environment
  3. Cost-Effective fast deployments
  4. Collaboration, modularity and scaling
  5. Effective automation

4) What are the top 10 commands you used today and one line explanation

  1. docker start – starts already stopped containers.
  2. docker stop – stops running containers
  3. docker info – shows system-wide information
  4. docker ps – lists various properties of containers
  5. docker restart – stops and starts a container
  6. docker pull – pulls an image or a repository from your local registry
  7. docker history – Displays the history of an image
  8. docker rm – removes containers
  9. docker rmi – removes images
  10. docker exec – Runs a command in a container that is active or running.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x