Should we containerize our internal Python command-line tool for five users?
#1
I’m trying to decide if it’s worth containerizing our team’s internal CLI tool, which is just a collection of Python scripts. The dependency management is a bit messy across different dev machines, but it feels like overkill for something only five of us use.
Reply
#2
I've seen the same drift you’re talking about. Containerizing the CLI helped when a new dev started and every host ended up with a different Python setup. With a stable image you could ship a dozen runs the same way. The downside was the initial setup and teaching folks to use Docker for a tiny tool, plus the image tags and cache tangled up our quick iterations.
Reply
#3
Five people with messy venvs is precisely why we drifted toward a simple venv plus a small bootstrap script. It cut the install friction without the extra infra, and it’s easy to drop in a requirements pin. Container images felt like overkill for a CLI like this.
Reply
#4
We started talking about containers because we wanted reproducible tests, but the real friction was the shells and PATH differences on macOS versus Linux. We ended up adding a tiny Makefile that creates a venv, installs deps, and runs the script. It felt safer than a Dockerfile, and it kept the team from spinning in Docker land. Still, the image chatter never entirely went away.
Reply
#5
It might be worth it if you have heavy CI or you’re integrating this into a larger toolchain. If it’s just five devs, a reproducible venv plus a small wrapper could be enough. Do you have a CI environment that would benefit from container runs?
Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Forum Jump: