-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vibhi #49
Vibhi #49
Conversation
Updated the dockerfile.
Updated the procedure in step.
minor edits
corrected the formatting issues.
Added description for COPY and chmod.
minor edits.
removed div
removed div
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking much much better. Just a few nit picks.
labs/docker-101/1.md
Outdated
@@ -2,7 +2,8 @@ | |||
|
|||
## Objective | |||
|
|||
This Learning Lab introduces Docker, a tool suite for building, sharing, and deploying containers. For more information about containers, see the [Containers-101](https://developer.cisco.com/learning/lab/containers-101/step/1) Lab. Use this Learning Lab to build, deploy, and optionally share your first Docker container. | |||
This Learning Lab introduces Docker, a tool suite for building, sharing, and deploying containers. Use this Learning Lab to build, deploy, and optionally share your first Docker container. For more information about containers, see the [Containers-101](https://developer.cisco.com/learning/lab/containers-101/step/1) Lab. | |||
Further reading is available in the excellent docker introduction at [imapex.io](https://github.com/imapex-training/mod_adv_docker/blob/master/README.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker > Docker
labs/docker-101/2.md
Outdated
@@ -36,15 +36,15 @@ CMD ["/hello"] | |||
|
|||
Here's what it tells `docker build` to do: | |||
|
|||
`FROM scratch` | |||
* `FROM scratch` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd remove the bullets - just in case it would cause confusion about what goes into the Dockerfile
line-by-line.
@@ -90,7 +90,7 @@ The example command downloads and runs the Ubuntu container from DockerHub. The | |||
|
|||
![Ubuntu shell](assets/images/ubuntu1.png) | |||
|
|||
# Testing Isolation. | |||
# Testing Isolation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. 🔍
labs/docker-101/3.md
Outdated
@@ -2,131 +2,126 @@ | |||
|
|||
Next we'll build our own Ubuntu Docker image instead of using the one from DockerHub. | |||
|
|||
1. __Download the files__. Begin by downloading the Ubuntu Dockerfile and its dependencies. | |||
1. Downloading the Ubuntu Dockerfile and its dependencies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Downloading > Download
labs/docker-101/3.md
Outdated
![Docker Images](assets/images/images1.png) | ||
|
||
5. __Run the new image__. Run the newly created docker image by giving the randomly-chosen ID to Docker: | ||
5. Run the newly created docker image by giving the randomly-chosen ID to Docker: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker > Docker
labs/docker-101/3.md
Outdated
``` | ||
docker build . | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tell them to make note of the container ID that is returned once the build is done.
terminal. | ||
``` | ||
docker run <Container ID> | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe tell them where to get the Container ID here also.
labs/docker-101/3.md
Outdated
``` | ||
The "Hello from DevNet!" message is displayed in the container terminal. | ||
|
||
![](assets/images/docker-image-new.png) | ||
|
||
Congratulations, you've just built and run a custom docker image! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker > Docker
labs/docker-101/4.md
Outdated
A Docker container image can run any application you like. Let's build | ||
one that runs a web server. The web server will run whenever the | ||
container image starts up. | ||
A Docker container image can run any application you like. Let's build one that runs a web server. The web server will run whenever the container image starts up. | ||
|
||
The following python command creates and starts a simple web server: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python > Python
``` | ||
docker inspect <container ID> | ||
``` | ||
Running this command displays a great deal of information about the container. Included in the output is the container's address, identified as "IPAddress". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably need to tell them how to get the container ID, by running docker ps
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated all the review comments. Kindly review...
Changed docker to Docker.
updated the review comments.
Updated the review comments.
updated the review comments.
updated the review comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - I'll merge and you can publish. Thanks!
Hi Anne,
Based on your updates in the Docker file, I have updated the "Building a Custom Cisco Learning Labs Container" section.
Corrected the byod.html.
Performed editorial review of this Lab.
Kindly review the updates and provide your comments.
Regards,
Vibhinna