Skip to content

Commit 8809057

Browse files
unknownunknown
unknown
authored and
unknown
committed
added docker module
1 parent fe5e757 commit 8809057

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docker/Dockerfile_Instructions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ Both CMD and ENTRYPOINT instructions define what command gets executed when runn
6565

6666
Dockerfile should specify at least one of CMD or ENTRYPOINT commands.
6767

68-
`ENTRYPOINT` - should be defined when using the container as an executable.
68+
- `ENTRYPOINT` - should be defined when using the container as an executable.
6969

7070
CMD should be used as a way of defining default arguments for an ENTRYPOINT command or for executing an ad-hoc command in a container.
7171

7272
CMD will be overridden when running the container with alternative arguments.
7373

74-
`VOLUME` - The VOLUME instruction creates a mount point with the specified name and marks it as holding externally mounted volumes from native host or other containers.
74+
- `VOLUME` - The VOLUME instruction creates a mount point with the specified name and marks it as holding externally mounted volumes from native host or other containers.
7575

76-
`USER` - The USER instruction sets the user name to use when running the image
77-
`WORKDIR` - The WORKDIR instruction sets the working directory for any RUN, CMD, ENTRYPOINT, COPY and ADD instructions
76+
- `USER` - The USER instruction sets the user name to use when running the image
77+
- `WORKDIR` - The WORKDIR instruction sets the working directory for any RUN, CMD, ENTRYPOINT, COPY and ADD instructions
7878

79-
`ARG` - The ARG instruction defines a variable that users can pass at build-time to the builder with the docker build command using the --build-arg <varname>=<value> flag.
79+
- `ARG` - The ARG instruction defines a variable that users can pass at build-time to the builder with the docker build command using the --build-arg <varname>=<value> flag.
8080

8181
- `SHELL` - The SHELL instruction allows the default shell used for the shell form of commands to be overridden.
8282

0 commit comments

Comments
 (0)