Difference between revisions of "ENTRYPOINT"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
ENTRYPOINT "myappwillnotwork" | ENTRYPOINT "myappwillnotwork" | ||
Ref: https://github.com/GoogleContainerTools/distroless | Ref: https://github.com/GoogleContainerTools/distroless | ||
+ | |||
+ | |||
+ | [[COPY]] ./docker-entrypoint.sh / | ||
+ | ENTRYPOINT]] ["/docker-entrypoint.sh"] | ||
+ | CMD ["postgres"] | ||
== Related == | == Related == |
Revision as of 12:09, 17 May 2023
ENTRYPOINT ["myappthatworks"]
ENTRYPOINT "myappwillnotwork" Ref: https://github.com/GoogleContainerTools/distroless
COPY ./docker-entrypoint.sh / ENTRYPOINT]] ["/docker-entrypoint.sh"] CMD ["postgres"]
Related
RUN
CMD
- WORKDIR
- EntryPoint (aws ecs register-task-definition: ContainerDefinitions)
- Distroless
runc created filed
docker run --entrypoint
- command (Containers)
See also
- RUN, CMD, ENTRYPOINT, command (Containers)
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
Advertising: