Something to the effect of docker run [options] <image> ./script.sh | bbedit --new-window --clean should work.
Or if the container is already running, docker exec <container> ./script.sh | bbedit --new-window --clean.
(You may need to cd to where the script is, or give the full path to the script. If the script is interactive, you may need -it.)
--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
Good morning,
I agree that containers should be used "as containers", but there are lots of reasons to want to edit files in those containers (or any remote server) - and of course editing with BBEdit is the best. So have a look at rbbedit which allows you to edit within BBEdit from a remote server, including containers. (It does assume SFTP from container to host, but rbbedit supports multiple transfer options, so something other than SFTP may work better with containers.
-cng
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CACACE96-D8DA-4993-A189-A1E9BB934D6E%40gmail.com.
--
Charlie Garrison <cha...@garrison.com.au>
Garrison Computer Services <http://www.garrison.com.au>
PO Box 380
Tumbarumba NSW 2653 Australia
On 28 Feb 2022, at 10:29, Marshall Clow wrote:
It seems like the same technique that people have used for invoking BBedit remotely (over ssh, or whatever) would work here; but I was asking if anyone had already done it before I dive into it.
On Feb 27, 2022, at 12:58 PM, Scott Lopez <sco...@gmail.com> wrote:
>
> The whole point of docker is to keep containers isolated from the host.
Then why do people run web servers inside of containers? ;-)
Obviously there’s a way to communicate outside of the container.
It seems like the same technique that people have used for invoking BBedit remotely (over ssh, or whatever) would work here; but I was asking if anyone had already done it before I dive into it.