ENTRYPOINT

From wikieduonline
Jump to navigation Jump to search
ENTRYPOINT ["myappthatworks"]
ENTRYPOINT ["executable", "param1", "param2"]
ENTRYPOINT command param1 param2
ENTRYPOINT "myappwillnotwork"
Ref: https://github.com/GoogleContainerTools/distroless
ENTRYPOINT ["/bin/bash", "-c", "echo hello"]
ENTRYPOINT service ssh restart && bash
COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["postgres"]

Related[edit]

See also[edit]

Advertising: