Skip to content

Commit c2e030d

Browse files
committed
ISSUE add note to Lecture 1
1 parent 1b4432a commit c2e030d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dockerfiles/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ CMD ["-h"]
3131
# becomes "nginx -h"
3232
```
3333

34+
> #### ! Note
35+
>Setting `ENTRYPOINT` will remove the `CMD` instruction defined in the base image. To fix this, the `CMD` instruction must be redefined in the current image.
36+
3437
Let's run it.
3538
```bash
3639
docker build -t testnginx . # build image

0 commit comments

Comments
 (0)