I have a Dockerfile
with the lines:
ENTRYPOINT ["echo"]
CMD ["hello"]
When I run the exec
command on an running container I expect:
docker exec -it running_container world
rpc error: code = 2 desc = oci runtime error: exec failed: exec: "world": executable file not found in $PATH
How can I make it echo world
?