Combining CMD and ENTRYPOINT with exec form

Report a typo

You are working on the following Dockerfile and you need to add an instruction to pass the Hello and World strings to ENTRYPOINT using the CMD instruction.

FROM ubuntu:22.04

LABEL author=HyperUser

ENTRYPOINT ["echo"]
CMD /* arguments */

What should you add instead of the comment for that purpose?

Enter a short text
___

Create a free account to access the full topic