In this video, we will run Nginx docker container locally first. Then we going to update nginx.conf to secure connection with SSL certificate. It’s relatively easy to run Nginx docker container on your laptop, just build your own docker image and start it by using the docker run command. You can also, improve usability by using a docker-compose file. Simply, put all your arguments that you would use with the docker run command into the file.

Did I help you out?
☕ Buy Me a Coffe: https://www.buymeacoffee.com/antonputra
🔴 Add me on LinkedIn: https://www.linkedin.com/in/anton-putra

=========
⏱️TIMESTAMPS⏱️
0:00 Intro
0:45 Build and Run Nginx Docker Container Locally
12:20 Secure Nginx with SSL Certificate
16:03 Create IAM User, ECR, and Push Docker Image
25:05 Create IAM Policy and IAM Role for EC2 Instance
28:41 Create EC2 Instance and attach IAM Role
35:25 Install Docker on Ubuntu 20.04
39:56 Run Nginx Docker Container with SSL Certificate

=========
Source Code
📚 - Instructions: https://antonputra.com/how-to-run-nginx-docker-container/
🖥️ - GitHub: https://github.com/antonputra/tutorials/tree/main/lessons/055

=========
SOCIAL
🎙- Twitter: https://twitter.com/antonvputra
📨 - Email: me@antonputra.com

#Docker #Nginx #SSL

#aws #docker #nginx

How to Run Nginx Docker Container? 🐳 (SSL | Ubuntu 20.04 | AWS | EC2 | ECR)
1.45 GEEK