3 ms·
I was considering asking about the point of using Docker with Go binaries on Twitter last night, my thinking similar to yours. Hours later an article on HN sho
by bojo 12y ago
I was considering asking about the point of using Docker with Go binaries on Twitter last night, my thinking similar to yours. Hours later an article on HN shows how to do it.
The only thing I could come up with is maybe you have additional dependencies outside your binary required to make the environment run?
I've been looking for a good reason to use Docker, but I'm not seeing the benefit given my Go based environments. If I need fine grain container-like control FreeBSD Jails have been working just fine for me.
- NateDad 12y agoIt's certainly valid that if your Go binary needs a specific version of Mongo out something that it could be useful to wrap that up in a container.... But just installing go in a container so you can build your Go code from scratch when you deploy is silly. Just like no one builds Mongo from scratch when they deploy it.
- enneff 12y ago> The only thing I could come up with is maybe you have additional dependencies outside your binary required to make the environment run? Exactly.