We can now press the Run button on the dialog. The resulting value in the textbox should be 8080:80. Next, under the Run section, we'll select Modify | Bind Ports In the newly visible textbox, we'll bind the host port of 8080 to our container port of 80. Click the chevrons in the editor and select the Edit option.įrom the Edit Run Configuration dialog, Under the Build section, we'll locate the Modify Options dropdown, select run options, and select Context Folder, and set the value to. Let's build our image and run the container, but before doing that, map the HTTP port to a host port and set the Context folder.