- Lab
- A Cloud Guru
Dockerizing a Node.js Application
### Dockerizing a Node.js Application Welcome back, and great job on migrating the SpaceBones website from NGINX to Apache! President Squawk is very impressed with your skill, and now has another task lined up. As you probably noticed from the current national website, SpaceBones is not only in need of treats, but also in need of a bit of technological advancement. The Radar Board (The official SpaceBones government tech team) has requested your assistance with developing a Node.js web application that can be used for launching a new and improved SpaceBones webspace.
Path Info
Table of Contents
-
Challenge
Github Repository Clone Locally
Student should clone the content-dockerquest-spacebones github repo into the
cloud_user
home directory.git clone https://github.com/linuxacademy/content-dockerquest-spacebones
-
Challenge
Create Custom Dockerfile for Image Build
Student should create a new Dockerfile under
~/content-dockerquest-spacebones/nodejs-app
directory.touch ~/content-dockerquest-spacebones/nodejs-app/Dockerfile
-
Challenge
Successful Creation of 'baconator' Image on Local System
Student should use contents of
~/content-dockerquest-spacebones/nodejs-app
to create a new Docker image namedbaconator:dev
build -t baconator:dev .
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.