In this hands-on lab, you have been provided with a single-server, Nomad developer environment. Using the appropriate command, create a job called “main.nomad”. This job should use docker and run a Redis docker image. Submit the job and ensure it is running.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Log in to the Provided Server
- Log in to the server using the credentials provided.
- Test to ensure that the Nomad environment is running and able to accept jobs.
- Create a New Nomad Job Called `main.nomad`
- Create a new job called
main.nomad
. This new job will utilizedocker
, and will start an instance ofRedis
.
- Create a new job called
- Submit the `main.nomad` Job
- Use Nomad commands to submit the newly created job to run in the Nomad environment.
- Verify That the Job Is Running Successfully
- Verify that the job is running, and examine the running job.