問題文
An image should always run the same binary, but the operator must be able to pass different arguments on the command line without repeating the binary name. How should the author write the two instructions?
選択肢
- The binary belongs in the instruction that survives as the identifier of the container, and the default arguments belong in the one that a command line argument duplicates, so the operator can change the tail of the invocation while the command stays fixed in the image.
- The binary belongs in the instruction that survives as the entrypoint of the container, and the default arguments belong in the one that a command line argument replaces, so the operator can change the tail of the invocation while the command stays fixed in the image.
- The binary belongs in the instruction that survives as the identifier of the container, and the default arguments belong in the one that a command line argument duplicates, so the operator can change the tail of the invocation while the argument stays set in the image.
- The binary belongs in the instruction that survives as the entrypoint of the container, and the default arguments belong in the one that a command line argument replaces, so the operator can change the tail of the invocation while the argument stays set in the image.