Difference between revisions of "ENTRYPOINT"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 7: | Line 7: | ||
Ref: https://github.com/GoogleContainerTools/distroless | Ref: https://github.com/GoogleContainerTools/distroless | ||
+ | |||
+ | ENTRYPOINT [[service ssh restart]] && bash | ||
[[COPY]] ./docker-entrypoint.sh / | [[COPY]] ./docker-entrypoint.sh / |
Revision as of 09:55, 13 December 2023
ENTRYPOINT ["myappthatworks"]
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: