You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey!
Is it possible to run the script in a docker container?
In other words - connect with SSH to remote server, then spin up container with image name provided and a list of volumes mounted, and then execute the script inside that container.
Is it possible with this action?
If not, then this is a feature request 😊
Many thanks!
The text was updated successfully, but these errors were encountered:
Hi!
The idea is to provide some isolation/security.
For example, by mounting a number of "read-only" volumes, and only one "write" volume. If something goes wrong with the script, the harm will be limited.
For now, I'm doing it manually:
use ssh-action
cat <<<'EOF' to /tmp/script.sh
docker run ... -v ... -v ... sh /tmp/script.sh
delete /tmp/script.sh
But ideally, it would be nice to be able to do this using the ssh-action directly :)
Hey!
Is it possible to run the script in a docker container?
In other words - connect with SSH to remote server, then spin up container with image name provided and a list of volumes mounted, and then execute the script inside that container.
Is it possible with this action?
If not, then this is a feature request 😊
Many thanks!
The text was updated successfully, but these errors were encountered: