File tree 2 files changed +32
-0
lines changed
06-Essential-Docker-Commands 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Docker Architecture
2
+
3
+ ## Understand Docker Architecture & Docker Terminology
4
+ - What is Docker Daemon?
5
+ - What is Docker Client?
6
+ - What are Docker Images?
7
+ - What are Docker Containers?
8
+ - What is Docker Registry or Docker Hub?
9
+ - Refer the [ presentation slides] ( /otherfiles/presentation/Docker-Fundamentals-v1.pdf ) .
10
+
Original file line number Diff line number Diff line change
1
+ # Docker - Essential Commands
2
+ - The below are the list of essential commands we are in need
3
+
4
+ | Commands | Description |
5
+ | ------------------------------- | --------------------------------------------- |
6
+ | docker ps | List all running containers |
7
+ | docker ps -a | List all containers stopped, running |
8
+ | docker stop container-id | Stop the container which is running |
9
+ | docker start container-id | Start the container which is stopped |
10
+ | docker restart container-id | Restart the container which is running |
11
+ | docker port container-id | List port mappings of a specific container |
12
+ | docker rm container-id or name | Remove the stopped container |
13
+ | docker rm -f container-id or name| Remove the running container forcefully |
14
+ | docker pull image-info | Pull the image from docker hub repository |
15
+ | docker pull stacksimplify/springboot-helloworld-rest-api:2.0.0-RELEASE | Pull the image from docker hub repository |
16
+ | docker exec -it container-name /bin/sh | Connect to linux container and execute commands in container |
17
+ | docker rmi image-id | Remove the docker image |
18
+ | docker logout | Logout from docker hub |
19
+ | docker login -u username -p password | Login to docker hub |
20
+ | docker stats | Display a live stream of container(s) resource usage statistics |
21
+ | docker top container-id or name | Display the running processes of a container |
22
+ | docker version | Show the Docker version information |
You can’t perform that action at this time.
0 commit comments