From 22e59c00cca258188d91b66e162eabc5282d2160 Mon Sep 17 00:00:00 2001 From: carriewright11 Date: Thu, 8 Sep 2022 13:00:51 -0400 Subject: [PATCH] adding some edits that might help with explanation --- 08-modifying-docker-image.Rmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/08-modifying-docker-image.Rmd b/08-modifying-docker-image.Rmd index eb582f8..5455ed9 100644 --- a/08-modifying-docker-image.Rmd +++ b/08-modifying-docker-image.Rmd @@ -31,7 +31,7 @@ To see what images you have on your internet repository, you can log on to docke ottrpal::include_slide("https://docs.google.com/presentation/d/1IJ_uFxJud7OdIAr6p8ZOzvYs-SGDqa7g4cUHtUld03I/edit#slide=id.gfc8849fa4d_0_38") ``` -After you sign into dockerhub, you can see the list of repositories you have stored online. At this point, you won’t have any if you just created your dockerhub account. To create a new repository, click the ‘Create Repository’ button. +After you sign into dockerhub, click on the `Repositories` tab, so you can see the list of repositories you have stored online. At this point, you won’t have any if you just created your dockerhub account. To create a new repository, click the ‘Create Repository’ button. ```{r, fig.alt="In your dockerhub main page, you can see the list of repositories you have stored online. At this point, you won’t have any if you just created your dockerhub account. To create a new repository, click the ‘Create Repository’ button.", out.width = "100%", echo = FALSE} ottrpal::include_slide("https://docs.google.com/presentation/d/1IJ_uFxJud7OdIAr6p8ZOzvYs-SGDqa7g4cUHtUld03I/edit#slide=id.gfc8849fa4d_0_10") @@ -52,7 +52,7 @@ ottrpal::include_slide("https://docs.google.com/presentation/d/1IJ_uFxJud7OdIAr6 Go to your [local command line](https://towardsdatascience.com/a-quick-guide-to-using-command-line-terminal-96815b97b955) and use the command specified on the right side of your repository page. You don't have to specify a tagname if you don't want to. If you don't want to specify a tagname, leave off the `:tagname` if you like. -Now you will be able to test pulling your image using `docker pull ` like we did in the previous chapter. +Now you will be able to test pulling your image using `docker pull ` like we did in the previous chapter. You can also click on the `Public View` button to copy the pull command for your Docker image. Docker images can be pulled from being stored online but these images are built originally from a `Dockerfile`. @@ -143,7 +143,7 @@ If all built successfully, you should see a message like: => => naming to docker.io/library/image_name ``` -Now to run the image we can use the docker run command we used in the previous chapter and we should have a message: `Yay! I added to this Docker image` pop up upon building. +Now to run the image we can use the docker run command we used in the previous chapter (see below) and we should have a message: `Yay! I added to this Docker image` pop up upon building.
To run your new **Python docker image** But replace `image_name` with whatever you have called your image.