From the course: Learning Google Cloud Run
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Preparing and containerizing your application - Google Cloud Tutorial
From the course: Learning Google Cloud Run
Preparing and containerizing your application
- [Instructor] Now that you're familiar with how easy it is to deploy a sample container, what if you want to deploy your own Docker container? Let's go through the steps of building your own dockerfile and pushing it to the artifact registry. Go to the GitHub repository of this course, and click on the Code to get the clone URL, select the HTTPS tab, copy the clone URL, go to the terminal, and create a directory. I'm going to call it as docker-scripts, cd docker-scripts and then type git clone, the GitHub URL. And once the clone is done, type ls. Now you see a new directory got created, which is our GitHub repository project. cd to that directory and ls again, you will see three files. I'm going to check out to the branch 03_02. Now if you type ls, you will see a dockerfile. If you have any confusion around the branch name, go to the GitHub repository and you can select what branches are available, and select the…