8 Basic Docker Commands || Docker Tutorial 4
- 2:25 docker pull
- 4:04 docker run
- 4:40 docker ps
- 5:06 docker run --options
- 6:17 docker stop
- 6:43 docker start
- 10:08 - docker ports, docker port mapping
- docker logs (in part 2)
- docker exec -it (in part 2)
Debugging Docker Containers with docker exec and docker logs || Docker Tutorial 5
- 1:56 docker logs
- 5:28 docker exec -it
Docker vs Virtual Machine | simply explained || Docker Tutorial 6
Overview of Workflow with Docker - Docker in Practice || Docker Tutorial 7
Developing with Docker - Docker in Practice || Docker Tutorial 8
0:14 - Pre-Requisites
0:55 - what we will do in this video
1:44 - 1st part: The JavaScript App (HTML, JavaScript Frontend, Node.js Backend)
https://gitlab.com/nanuchi/techworld-js-docker-demo-app
3:30 - 2nd part: MongoDB and Mongo Express Set-Up with Docker
5:00 - Docker Network concept and demo (docker-compose uses docker network under the hood, in the next video(s) I will show you how to do it with docker-compose)
15:33 - 3rd part: Connect Node Server with MongoDB container
Ingress, tls certificate
https://www.youtube.com/watch?v=5cNrTU6o3Fw
multiple containers in a pod, yaml example
https://www.youtube.com/watch?v=6YisG2GcXaw&list=PLy7NrYWoggjwPggqtFsI_zMAwvG0SqYCb&index=8
Mongo + NodeJS
stream the logs: docker -f
https://www.youtube.com/watch?v=WmcdMiyqfZs&list=PLy7NrYWoggjwPggqtFsI_zMAwvG0SqYCb&index=10
Dockerfile
docker ps -a
docker stop <containerid>
docker rm <containerid>
docker images
docker rmi <imageid>
docker build -t tagname:version .
docker images
docker run tagname:version
docker logs <containerid> -f
docker exec -it <containerid> /bin/sh
env (lists all env vars)
https://www.youtube.com/watch?v=vWSRWpOPHws&list=PLy7NrYWoggjwPggqtFsI_zMAwvG0SqYCb&index=11
AWS ECR - Elastic Container Registry
https://www.youtube.com/watch?v=p2PH_YPCsis&list=PLy7NrYWoggjwPggqtFsI_zMAwvG0SqYCb&index=13
Docker volumes
host volume:
docker run -v /home/mount/data:/var/lib/mysql/data
anonymous vokume:
docker run -v /var/lib/mysql/data
named volumes:
docker run -v name:/var/lib/mysql/data
https://www.youtube.com/watch?v=SBUCYJgg4Mk&list=PLy7NrYWoggjwPggqtFsI_zMAwvG0SqYCb&index=14
volumes demo
https://youtu.be/SBUCYJgg4Mk?list=PLy7NrYWoggjwPggqtFsI_zMAwvG0SqYCb&t=291
mongo, mysql, postgresql
No comments:
Post a Comment