Difference between revisions of "ENTRYPOINT"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
* https://docs.docker.com/engine/reference/builder/#entrypoint | * https://docs.docker.com/engine/reference/builder/#entrypoint | ||
− | |||
ENTRYPOINT ["myappthatworks"] | ENTRYPOINT ["myappthatworks"] | ||
ENTRYPOINT ["executable", "param1", "param2"] | ENTRYPOINT ["executable", "param1", "param2"] | ||
+ | |||
+ | ENTRYPOINT command param1 param2 | ||
ENTRYPOINT "myappwillnotwork" | ENTRYPOINT "myappwillnotwork" |
Revision as of 09:57, 13 December 2023
ENTRYPOINT ["myappthatworks"]
ENTRYPOINT ["executable", "param1", "param2"]
ENTRYPOINT command param1 param2
ENTRYPOINT "myappwillnotwork" Ref: https://github.com/GoogleContainerTools/distroless
ENTRYPOINT service ssh restart && bash
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
Advertising: