Join Troy Miles for an in-depth discussion in this video Running a Dockerfile, part of Web Servers and APIs using C++.
- [Instructor] Now we need to go…to the terminal and build our container.…Be sure that you are in the directory cppbox.…The one with the lone docker file.…Enter the following docker build -t cppbox .…Please note the command ends with a period.…This is the docker build command.…It will create an image from our Dockerfile.…The -t is the tag option.…
Our image will be tagged cppbox.…Depending on your internet connection speed,…this command may take a few minutes.…It might be a good time for a break.…To make sure that our image was built correctly,…let's see if it has the boost libraries in it.…Type docker run -ti cppbox:latest.…This will give us our the cppbox we just created…the local version of it,…and then we're gonna type bash.…
This will run the bash shell on the container.…Now we're actually in the container.…We're gonna type find /user -name…and libboost *.*.…If the install succeeded find will show us…dozens of boost library files.…There we go.…We see dozens of them.…All the different libboost files.…
To exit the container type exit.…
- Working with Crow, the C++ micro web framework
- Deploying containers to Heroku
- Building websites and webpages
- Accessing data from a database
- Accessing data via RESTful APIs
- Creating API endpoints
- Running WebSockets on Heroku
Skill Level Intermediate
1. Installing Our Tools
2. Deploying to Heroku
Installing the Heroku CLI1m 17s
3. Building Websites
4. Data Access
5. RESTful APIs
6. WebSockets and Crow
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.