danny_sf45
Joined 6 years ago
Joined 6 years ago
Without (Docker) containers it is:
- build Go binary and install it in production server
- write and enable the systemd unit file
With (Docker) containers it is:
- write Dockerfile
- install Docker in production server
- build Docker image and deploy container in production server
I get the appealing of containers when one production server is used for multiple applications (e.g., you have a Golang app and a redis cache), but the example above I think containers a bit of an overkill.
Same outcome (for the company), less (wasted) hours for me. This is impossible to achieve if one has to go to the office. (can you imagine entering at 9am and leaving at 2pm while telling everybody: "hey, I cannot work anymore, I'm only able to work focused 5 hours per day. See you tomorrow!".)