#containerizeit

Chris Alemany🇺🇦🇨🇦🇪🇸chris@mstdn.chrisalemany.ca
2025-11-03

I turned on debug mode for nginx and it seems to be making the connection to Youtube and sends data so I am really at a loss as to what is going wrong!! #docker #mac #nginx #colima #rtmp #youtube #containerizeit

Chris Alemany🇺🇦🇨🇦🇪🇸chris@mstdn.chrisalemany.ca
2025-11-03

I'm getting closer with my nginx-rtmp-Docker-container-on-MacOS project!

I started from scratch on the mac a couple days ago, reinstalled docker with homebrew and then realized that part of my problem was that macOS (and windows) has to run docker in a virtual machine container of its own and *that* can mess with networking.

So I have now figured that out. Colima, the vm that seems most popular on macOS, needs a mac specific option (--network-attached) when starting so that it gets the mac network going. Major Aha! moment.

I also learned more completely how to build my own Docker images.

I've gotten to the point where nginx is definitely running, I know the port is open (via nmap on another device), I know nginx is accepting the stream, but nginx still refuses to publish that stream to Youtube (or at least youtube is not seeing it).

I also can ping apple.com and youtube.com from within the container, so access to the outside world is working.
I
So that's where I'm at.

I just figured out how to get into a container and examine the nginx log files now.

At this point I am going to rebuild the container with nginx configured for full debug level logging. Hopefully that provides some more clues on where it is getting stuck.

I give it a 50/50 chance that it is either an nginx configuration/installation problem or another colima virtual machine/networking issue.

I've learned a lot at least and feel better about my overall Docker knowledge!

And I'm documenting on my blog as I go so I'll have a howto produced from this when it finally works!

#docker #mac #nginx #colima #rtmp #youtube #containerizeit

A screenshot of the terminal window shows a build of a new image for nginx

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst