Cage

Dev tools

development environment

SHOW HN2017

Cage

Develop your Python applications easily in clean Docker environments

github.com

#python#docker#virtualenv#development environment

119points
58comments
#361of 2,242 in 2017
Top 17%of 2017 by points

How HN took it

MixedNo clear lean

2 positive, 5 neutral or asking, 2 mixed, 5 critical, out of 14 comments about the project. Thread score -0.24.

Idea: 2 for, 3 againstExecution: 0 for, 1 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Clean containers useful in active dev cycle

    From 1 comment
    • Although I'm not sure I would use this, this is the kind of stuff I've been waiting for. Where nice clean containers are used as part of an active dev cycle rather than just the…
      crazyhatfish on HN

Objections

  • Docker is heavyweight compared to virtualenv

    From 3 comments
    • Docker sounds heavyweight for this purpose, given that it essentially spawns a complete userland separate from the host. I work on Guix; it provides a 'guix environment' command,…
      civodul on HN
    • So apart from having separate disk+network namespace, how is this different from a virtualenv? I feel like configurable sockets and paths should provide everything this can, but…
      viraptor on HN
    • Less system resource overhead, more human overhead. VirtualEnvs can bleed over if they're not configured properly or if you forget to deactivate. They're harder to fully…
      cookiecaper on HN
  • Docker is slow on macOS

    From 2 comments
    • Docker runs pretty slow on macOS so you'll be paying a pretty high price for cleanliness.
      miloshadzic on HN
    • Yes, but the docker for mac uses 100% cpu per core if watching files. I think it's reasonable to assume using a better virtual machine (possibly including vmware and parallels,…
      andy_ppp on HN
  • Unclear what it adds over learning docker and docker-compose

    From 2 comments
    • Pretty simple to set up and use, but I'm not sure if it's better than learning `docker` and `docker-compose`. Also, the default `python <file>.py` doesn't remove the container…
      rockostrich on HN
    • I was going to say something similar. With venv moved into the stdlib in Python3 and ongoing development and improvements to the `docker-compose` workflow I am not sure where a…
      gshulegaard on HN
  • Requires Python 3.5 not in Debian stable

    From 1 comment
    • Mac-first development strikes again: pycage requires Python 3.5, which hasn't landed in Debian stable yet. Bummer.
      alrs on HN

Requests

  • Add container removal and custom image naming

    From 1 comment
    • Pretty simple to set up and use, but I'm not sure if it's better than learning `docker` and `docker-compose`. Also, the default `python <file>.py` doesn't remove the container…
      rockostrich on HN
  • Support Pipfile dependencies

    From 1 comment
    • > The current version of Cage only supports dependencies written in a requirements file It might be worth looking at pipfile. Great project though!
      rch on HN

Questions

  • How does it differ from virtualenv

    From 1 comment
    • So apart from having separate disk+network namespace, how is this different from a virtualenv? I feel like configurable sockets and paths should provide everything this can, but…
      viraptor on HN
  • What is the use case

    From 1 comment
    • Could someone please explain why this might be useful? It seems like something that a crypto developer might like but if I'm developing something innocuous why would it matter if…
      0wl3x on HN

Alternatives named

  • docker and docker-compose

    From 1 comment
    • Pretty simple to set up and use, but I'm not sure if it's better than learning `docker` and `docker-compose`. Also, the default `python <file>.py` doesn't remove the container…
      rockostrich on HN
  • Vagrant

    From 1 comment
    • My two second-hand cents: At my previous company we used Vagrant for most projects, and it provided a nice abstraction layer that made things work reasonably well across all…
      nkantar on HN
  • Guix environment

    From 1 comment
    • Docker sounds heavyweight for this purpose, given that it essentially spawns a complete userland separate from the host. I work on Guix; it provides a 'guix environment' command,…
      civodul on HN
  • pyenv

    From 1 comment

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/13461100)