Answer the question
In order to leave comments, you need to log in
How to throw an argument into a container?
Hello everyone, I started studying a docker course and there is a task
When starting a container from this image without arguments, it should print the string ''Hello World!' and exit.
When starting the container with an argument, the string ''Hello !
FROM ubuntu:14.04
ENTRYPOINT ["echo"]
CMD ["Hello Wordl!"]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question