MENU

Fun & Interesting

Stop Writing Dockerfiles - Use Docker Init | Most Useful Docker Command

Abhishek.Veeramalla 48,064 12 months ago
Video Not Working? Fix It Now

Join our 24*7 Doubts clearing group (Discord Server) www.youtube.com/abhishekveeramalla/join Udemy Course (End to End DevOps Project) https://www.udemy.com/course/ultimate-devops-project-with-resume-preparation/?referralCode=9F588E43854814744430 --- --- Support my work https://www.buymeacoffee.com/abhishekprd Initialize a project with the files necessary to run the project in a container. Docker Desktop provides the docker init CLI command. Run docker init in your project directory to be walked through the creation of the following files with sensible defaults for your project: .dockerignore Dockerfile compose.yaml README.Docker.md If any of the files already exist, a prompt appears and provides a warning as well as giving you the option to overwrite all the files. If docker-compose.yaml already exists instead of compose.yaml, docker init can overwrite it, using docker-compose.yaml as the name for the Compose file. Learn Docker from Basics using my Playlist https://www.youtube.com/playlist?list=PLdpzxOOAlwvLjb0vTD9BXLOwwLD_GWCmC Docker Compose Docs https://docs.docker.com/compose/ Three Tier Architecture Used in the video https://github.com/iam-veeramalla/three-tier-architecture-demo/blob/master/docker-compose.yaml Complete Docker Compose Examples https://github.com/docker/awesome-compose Here are some more very useful Zero to Hero playlists on the channel. - Free DevOps Playlist: https://www.youtube.com/playlist?list=PLdpzxOOAlwvIKMhk8WhzN1pYoJ1YU8Csa - AWS Zero to Hero Playlist: https://www.youtube.com/playlist?list=PLdpzxOOAlwvLNOxX0RfndiYSt1Le9azze - Terraform Zero to Hero Playlist: https://www.youtube.com/playlist?list=PLdpzxOOAlwvI0O4PeKVV1-yJoX2AqIWuf - Python for DevOps Playlist: https://www.youtube.com/playlist?list=PLdpzxOOAlwvKwTyYNJCUwGPvql0TrsPgv Have any questions while learning ? Don't worry, Join our Doubts Clearing Group. Join our Doubts Clearing Group https://www.youtube.com/@AbhishekVeeramalla/join About me: ======== Instagram: https://www.instagram.com/abhishekveeramalla_official/ Telegram Channel : https://t.me/abhishekveeramalla LinkedIn: https://www.linkedin.com/in/abhishek-veeramalla GitHub: https://github.com/iam-veeramalla Medium: https://abhishekveeramalla-av.medium.com/ Docker Init What is docker init ? How to Write Dockerfiles ? Simple steps to learn how to write Dockerfiles How to learn Docker Compose Simple Containerization project Best Docker tutorial . . Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.

Comment