For today’s question, I am working on a theme for the static website generator, Hugo, in my pet container. Hugo has a command that will serve the site to localhost:1313, but localhost inside the toolbox is not the same as localhost to the Silverblue host, so the host browser sees nothing at that location. Is there any way to access the container’s port so I can preview the site while working on it without layering the Hugo package or installing a browser in the toolbox?
Huh that’s odd, AFAIK it should use host networking…
What if you set hugo to serve on 0.0.0.0 instead of localhost?
Oops, ignore me. I copied the theme to the wrong subdirectory somehow and when nothing showed up I made an erroneous assumption based on the thread about using Ansible from the toolbox without actually checking things out properly.