我有一条Dockerfile
线:
ENTRYPOINT ["echo"]
CMD ["hello"]
当我在正在运行的exec
容器上运行命令时,我期望:
docker exec -it running_container world
rpc error: code = 2 desc = oci runtime error: exec failed: exec: "world": executable file not found in $PATH
我怎样才能让它回声world
?