dvddarias / rdocker

Securely control a remote docker daemon CLI using ssh forwarding, no SSL setup needed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scripting?

Gaelan opened this issue · comments

Would it be possible to make this script usable in another script? Currently this is hard, as you'd need a way to trigger the termination at the end.

A little late...

You can use it in script by doing like

rdocker root@remote.host \
    docker container ls \&\&
    docker container run -d nginx

I hope this is what you want