forked from stacksimplify/docker-fundamentals
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kalyan Reddy Daida
authored and
Kalyan Reddy Daida
committed
Feb 15, 2020
1 parent
537de92
commit 5fb3623
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Docker Architecture | ||
|
||
## Understand Docker Architecture & Docker Terminology | ||
- What is Docker Daemon? | ||
- What is Docker Client? | ||
- What are Docker Images? | ||
- What are Docker Containers? | ||
- What is Docker Registry or Docker Hub? | ||
- Refer the [presentation slides](/otherfiles/presentation/Docker-Fundamentals-v1.pdf). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Docker - Essential Commands | ||
- The below are the list of essential commands we are in need | ||
|
||
| Commands | Description | | ||
| ------------------------------- | --------------------------------------------- | | ||
| docker ps | List all running containers | | ||
| docker ps -a | List all containers stopped, running | | ||
| docker stop container-id | Stop the container which is running | | ||
| docker start container-id | Start the container which is stopped | | ||
| docker restart container-id | Restart the container which is running | | ||
| docker port container-id | List port mappings of a specific container | | ||
| docker rm container-id or name | Remove the stopped container | | ||
| docker rm -f container-id or name| Remove the running container forcefully | | ||
| docker pull image-info | Pull the image from docker hub repository | | ||
| docker pull stacksimplify/springboot-helloworld-rest-api:2.0.0-RELEASE | Pull the image from docker hub repository | | ||
| docker exec -it container-name /bin/sh | Connect to linux container and execute commands in container | | ||
| docker rmi image-id | Remove the docker image | | ||
| docker logout | Logout from docker hub | | ||
| docker login -u username -p password | Login to docker hub | | ||
| docker stats | Display a live stream of container(s) resource usage statistics | | ||
| docker top container-id or name | Display the running processes of a container | | ||
| docker version | Show the Docker version information | |