You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dockerfile is a text document that contains set of commands and instructions which will be executed in a sequence in the docker environment for building a new docker image.
400
+
401
+
#### FROM
402
+
This command Sets the Base Image for subsequent instructions
403
+
404
+
```cmd
405
+
FROM <image>
406
+
FROM <image>:<tag>
407
+
FROM <image>@<digest>
408
+
409
+
Example:
410
+
FROM ubuntu:18.04
411
+
```
412
+
413
+
414
+
#### RUN
415
+
416
+
#### ENTRYPOINT
417
+
418
+
#### CMD
419
+
420
+
#### COPY
421
+
422
+
#### ADD
423
+
424
+
#### ENV
425
+
426
+
#### EXPOSE
427
+
428
+
#### WORKDIR
429
+
430
+
#### MAINTAINER
400
431
### Docker Compose
401
432
Docker compose(or compose) is a tool for defining and running multi-container Docker applications.
0 commit comments