Skip to content

Commit

Permalink
Merge pull request #259 from prateek-parashar/patch-1
Browse files Browse the repository at this point in the history
Update section-4 for a typo
  • Loading branch information
mluukkai authored Jun 9, 2024
2 parents 89ec720 + 6a4d3c0 commit 774861b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/part-1/section-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ $ docker run -it python:3.11 bash

```

From this experimentat, we learned that they have ENTRYPOINT as something other than Python, but the CMD is Python and we can overwrite it, here with bash. If they had ENTRYPOINT as Python we'd be able to run `--version`. We can create our own image for personal use as we did in a previous exercise with a new Dockerfile:
From this experiment, we learned that they have ENTRYPOINT as something other than Python, but the CMD is Python and we can overwrite it, here with bash. If they had ENTRYPOINT as Python we'd be able to run `--version`. We can create our own image for personal use as we did in a previous exercise with a new Dockerfile:

```dockerfile
FROM python:3.11
Expand Down

0 comments on commit 774861b

Please sign in to comment.