0% found this document useful (0 votes)
157 views15 pages

Docker Container Sections

The document discusses Docker concepts including: - Docker is a platform that delivers software in isolated containers which bundle their own files and configuration. - The Docker client sends commands to the Docker daemon/engine which manages objects like images, containers, and networks. - Docker images are templates used to create containers which are runnable instances of images that can be connected to networks and storage. - Namespaces provide isolation between containers by separating resources like files, processes, users etc.

Uploaded by

Jason Gomez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views15 pages

Docker Container Sections

The document discusses Docker concepts including: - Docker is a platform that delivers software in isolated containers which bundle their own files and configuration. - The Docker client sends commands to the Docker daemon/engine which manages objects like images, containers, and networks. - Docker images are templates used to create containers which are runnable instances of images that can be connected to networks and storage. - Namespaces provide isolation between containers by separating resources like files, processes, users etc.

Uploaded by

Jason Gomez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Docker Container Sections

Transformation Hub
 Docker is a platform written in go
 Delivers software in containers.
 Docker Containers are isolated and bundle their own software, libraries and configuration files.
 Docker containers communicate with each other through defined channels

3
Docker Concepts
 What is docker client?
 It is the primary way that many users interact with Docker.
 The user executes “# docker run”, then the client sends the commands to docker, which carries them
out. The docker command uses the Docker API.
 The output of the following command shows you the docker client api version/info.
# docker version
 What is docker Engine?
 It is a client-server application with these major components:
 Docker daemon
 Docker API
 A command line interface client “docker” command
 # docker
 # docker version
4
Transformation Hub
 What is docker daemon? A docker daemon listens for Docker API requests and manages Docker objects
such as images, containers, networks, and volumes.
 A daemon can also communicate with other daemons to manage Docker services.
 The CLI uses the Docker REST API to control or interact with the Docker daemon through scripting or
direct CLI commands.
# systemctl status docker

5
Docker Architecture
 A RESTful API uses standard HTTP requests.

6
Docker Concepts
 What is Docker registries?
 A Docker registry stores Docker images. Ex, https://hub.docker.com/ or the initial master in
Transformation Hub
 Docker looks for images on Docker Hub by default. You can also run your own private registry.
 Also, you can push your images to your configured registry or the docker hub.

 What are the Docker objects?


 Some examples are: images, containers, networks, volumes, plugins, etc

7
Docker Concepts
 What is a docker image?
 It is a read-only template with instructions for creating a Docker container.
 You can create your own images based on a docker file
 You can use images created and published in a registry.
 This command shows you the list of images in Transformation Hub
# docker images

8
Docker Concepts
 What is containers?
 A container is a runnable instance of an image.
 You can create, start, stop, move, or delete a container.
 You can connect a container to one or more networks, attach storage to it, such as the docker thinpool
that can be configured in every cluster node.
 A container is defined by its image and any configuration options you provide when the container is
created.

9
Docker Concepts
 What is Namespaces?
 Docker uses a technology called namespaces to provide the isolated workspace called the container.
 Namespaces provide a layer of isolation.
 In Transformation Hub we use the following namespaces
# kubectl get namespaces
NAME STATUS AGE
arcsight-installer-zxwac Active 28d
core Active 28d
default Active 28d
kube-public Active 28d
kube-system Active 28d

10
What is the process to create a container

11
Docker Exercise
 The purpose of this exercise is to get familiar with the concepts and process of creating a docker
container.

Adobe Acrobat
Document

12
13
Thank You.

You might also like