Noghartt

Joined 5 years ago

Karma
88
Submissions
44
Member since
Jan 19
My personal blog where I share my thoughts, learnings, etc: https://noghartt.dev
View on Hacker News

Recent submissions

Comment · 1 year ago
Instead of decorators, it could be just a higher-order function. Which could handle it easily and in any scenario that interchanges between TS/JS.
Comment · 1 year ago
The container opens a gateway and each container provides its own local IP (e.g. 192.168.64.2), from what I understood, every services known host machine and can communicate with each other.

On my current implementation, I didn't work with DNS/Network Resolution because I need to understand better what I can/can't do with the API Apple provides, so the only things it does is handling the port mapping using `socat`, as the docs recommends.

Comment · 1 year ago
Thanks!

> Any reason why don’t implement this as a plugin for the container CLI?

I did a different CLI because, considering that Apple released their v0.1.0, I'm not sure if they're working in some kind of official support for compose YAMLs.

With that in mind, I tried to avoid coupling it into the container CLI, to avoid injecting any kind of breaking change or something else which could cause any issue in the future.

Comment · 1 year ago
To be honest, I'm not sure why they didn't already release it supporting a compose-like tool. But my hypothesis is that considering they release a v0.1.0, they tried to be lean on their CLI and maybe they're building something on top of it.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton