Docker Tutorial | Docker Commands | Deploy war file In Tomcat Using Docker File | Docker Vs VM's

preview_player
Показать описание
In this video you can learn what is Docker how it is useful now a days in software development. deploy war file inside tomcat using Docker file.
#dockertutorialbiginners #dockercommands #docker

8. Listing Docker images
$ docker images

9. Pulling images

Docker pull images_name

10. Searching for images.

Docker search imagename

11. Building our own images.

Docker build –t imagename .

12. Create Docker Hub account.

13. Login to Docker Hub trough Docker CLI.

Docker login

14. Push to custom image to Docker Hub.

Docker push imagename

15. Run Docker Image as a Docker Container.

Docker run –it –p 8181:8080 –name container_name imagename

16. Remove Docker images.

Docker rmi imagename /image_id

17. Remove Docker Containers.

Docker rm container_name/container_id
devops video tutorials
----------------------

git videos play-list

jenkins videos play-list

ansible videos play-list


docker videos play-list

kubernetes videos play-list

devops projects videos play-list




#devops #devopsvideos #devopstutorial #jenkins #jenkinsvideos
#jenkinstutorial #docker #dockertutorial #devopsprojects
#devopsrealtime #devopshandson #devopsinterview #devopsissues
#devopspracticals #ansible #ansibletutorial #monitoring
#prometheus #maventutorial #kubernetes #kubernetestutorial
#cicd #jenkinspipeline #pipeline #terraform #terraformtutorial
#devopstraining #devopsbanglore #devopsinstitute #jmstechhome
#maratahalli #realtimetrainingdevops #handson
#nexus #sonarqube #git #gittutorial #gitvideos

18. Remove Docker Multiple Docker images at a Time.

Docker rmi image_Id image_id

19. Remove none Docker images _dangling images .

docker rmi -f “dangling=true” –q
docker rmi -f $docker images -f "dangling=true" -q

20. Stop Docker Container.

Docker stop container_id

21. Kill Docker Container.

Docker kill container_id

22. Difference between Docker kill and stop.
23. Listing Running Containers.

Docker ps

24. Listing Running and stopped containers.

Docker ps -a

Docker ps –f “status=exited”

25. Check the logs of running containers.

Docker logs container_Id
Рекомендации по теме
Комментарии
Автор

Reach me on -7989775914 for classroom and online DevOps & AWS realtime hands on training.

classroom -maratahalli -Banglore

MadhuSudhanReddyYB
Автор

sir, i have a dbt.every time i build the image and run it and then delete it.Then after i want to run this image again after changing some code in our application, then all the requirements.txt file and the base image python:3 will be downloaded again.then what i have to stop again downloading the requirements.txt file every time.can u give me any solution?

ydhfcvn
Автор

Hi, can we run number of services in a single container? If yes then how can we achieve that?

sowjanyas