Skip to content

Commit

Permalink
part 1 start fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mluukkai committed Mar 7, 2024
1 parent a6d6239 commit b0a5190
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ When submitting your exercises, please follow the instructions provided in the c

We hope that you enjoy the course and find it informative and engaging. Good luck!

### Updating of the material for 2024 edition

The 2024 edition of the course starts officially on 11th March. The material is currently being updated. At the time of writing (7th March) the following parts are already updated

- Part 1, up to section _In-depth dive into images_

You may continue already beyond the updated material but beware, there might be some outdated content!

### About different architectures and contributing

Please note that while Docker runs on all major operating systems and even on ARM architecture, this course material may not cover platform-specific details for all operating systems. However, we've had students successfully complete the course using a variety of machines and operating systems.
Expand Down
8 changes: 4 additions & 4 deletions docs/part-1/section-3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "In-depth dive to images"
title: "In-depth dive into images"
---

Images are the basic building blocks for containers and other images. When you "containerize" an application you work towards creating the image.
Expand Down Expand Up @@ -325,7 +325,7 @@ We can improve our previous solutions now that we know how to create and build a

Let us now get back to [Exercise 1.4](/part-1/section-2#exercise-14).

Create a new file on your local machine and append the script we used previously into that file:
Create a new file `script.sh` on your local machine with the following contents:

```bash
while true
Expand All @@ -336,7 +336,7 @@ do
done
```

Create a Dockerfile for a new image that starts from ubuntu:20.04 and add instructions to install curl into that image. Then add instructions to copy the script file into that image and finally set it to run on container start using CMD.
Create a Dockerfile for a new image that starts from _ubuntu:22.04_ and add instructions to install `curl` into that image. Then add instructions to copy the script file into that image and finally set it to run on container start using CMD.

After you have filled the Dockerfile, build the image with the name "curler".

Expand Down Expand Up @@ -368,7 +368,7 @@ Submit the Dockerfile.

:::info Exercise 1.8: Two line Dockerfile

By default our `devopsdockeruh/simple-web-service:alpine` doesn't have a CMD. It instead uses _ENTRYPOINT_ to declare which application is run.
By default our `devopsdockeruh/simple-web-service:alpine` doesn't have a CMD. Instead, it uses _ENTRYPOINT_ to declare which application is run.

We'll talk more about _ENTRYPOINT_ in the next section, but you already know that the last argument in `docker run` can be used to give a command or an argument.

Expand Down

0 comments on commit b0a5190

Please sign in to comment.