Seems to me, that the -d / --destination option won't work with the kamal app exec command.
Scenario:
I have a stage destination with the same containers on a different server.
I wanna connect to a specific container with the following command:
# Connects to the default server
kamal app exec -i --reuse bash -d [CONTAINER_NAME] -r web
# Connects to the default server too
kamal app --destination stage exec -i --reuse bash -d [CONTAINER_NAME] -r web
kamal app -d stage exec -i --reuse bash -d [CONTAINER_NAME] -r web
kamal app exec -d stage -i --reuse bash -d [CONTAINER_NAME] -r web
Seems to me, that the
-d / --destination
option won't work with thekamal app exec
command.Scenario: I have a
stage
destination with the same containers on a different server. I wanna connect to a specific container with the following command: