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.

- https://github.com/cngarrison/rbbedit

-cng

On 28 Feb 2022, at 7:58, Scott Lopez wrote:

The whole point of docker is to keep containers isolated from the host.

The easiest option would be to save the text to the docker file system then go back on the Mac side, navigate to the storage folder and open it from there. Cheating horribly, but it will work. There is no way to call out to BBEdit from inside the container, would break the security of containers.

On Feb 27, 2022, at 2:18 PM, Marshall Clow <mtc...@gmail.com> wrote:

So, I’m playing with Docker on my Mac.
I have some scripts that run in a container and generate text, and I’d like the text to end up in a bbedit window.

Before I dive in and figure out the best way to do this, I thought that I’d ask if anyone has done this before.

If I wasn’t in a docker container, I’d just do:
$ ./script.sh | bbedit —new-window —clean

— Marshall

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/7EBF786C-8778-490F-83DF-0CA0AF188716%40gmail.com.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CACACE96-D8DA-4993-A189-A1E9BB934D6E%40gmail.com.


--

    Charlie Garrison                   <char...@garrison.com.au>
    Garrison Computer Services      <http://www.garrison.com.au>
    PO Box 380
    Tumbarumba NSW 2653  Australia

--
This is the BBEdit Talk public discussion group. If you have a feature request or need 
technical support, please email "supp...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/74484A7D-8439-48C3-9A8F-631FC7FC1AD4%40garrison.com.au.

Reply via email to