课程: Docker for Developers

今天就学习课程吧!

今天就开通帐号,24,600 门业界名师课程任您挑!

Finalize and test the front-end setup

Finalize and test the front-end setup - Docker教程

课程: Docker for Developers

Finalize and test the front-end setup

- [Instructor] Okay, so now that we have a Docker file created for a react project, let's go ahead and create an image from it and then test it. So the very first thing that you need to do is make sure that Docker is running, otherwise it's not going to work. So you want to make sure that you check the icon at the top here, and you have the whale with the containers on top. And if you want to make sure you click on it and you'll see Docker, desktop is running. So once you see this, you're good to go. And again, these are all things that I'm repeating for the people that actually watched the entire course but if you're just coming in for the front end, this is brand new and I'm going to repeat a few things. So now that we have Docker running, all we need to do is take these instructions here and create an image. So what Docker is going to do once we run the command, it's going to look for an image called node and then build…

内容