Docker components
-
When we install docker we get the following components
- docker client
- docker daemon
- local storage

-
client => command line application
- Docker can be installed on
Play with docker
Getting used to cli
- docker info:
- To run a container we need a image.
- Docker hub is a registry. Registry is collection of Repositories, Where each repository refers to an image (application/os)
- To manage versions image has tags
- Docker hub naming conventions:
- official images:
<image-name>:<tag>
- other images:
<account>/<image-name>:<tag>
- If the tag is not provided docker will use a
default
- To run a container we need to have image locally
- To check the images locally command is
docker images
docker image ls
Act as a terminal with docker installed, when i type any docker command explain what it does, why and where it is used and give me some examples
Act as a docker expert, I will give you the situation or scenario which i want to acheive using docker, Give me which cli to use and expand on explanations and examples
- What are the containers that are running
- what are the containers that are stopped
-
Remove the container
-
Exercise:
Like this:
Like Loading...