---
title: "Discussion on \"Settings from the environment\" | Hashnode"
description: "Discussion on \"Settings from the environment\". Two jsonargparse args give a Python CLI an environment variable for every option, and for the subcommand itself, so a Docker image needs no arguments."
url: "https://hashnode.com/posts/settings-from-the-environment/6a98710565dc67082b2c9426"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Settings from the environment](https://mauvilsa.hashnode.dev/settings-from-the-environment?utm_source=hashnode&utm_medium=feed)

Two jsonargparse args give a Python CLI an environment variable for every option, and for the subcommand itself, so a Docker image needs no arguments.

Sep 2 · 13 min read · mauvilsa.hashnode.dev  
Updated Sep 16  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#docker](https://hashnode.com/tag/docker)
-   [#containers](https://hashnode.com/tag/containers)
-   [#environment-variables](https://hashnode.com/tag/environment-variables)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Mauricio Villegas](https://hashnode.com/@mauvilsa)

@mauvilsa · Berlin, Germany

  
[View profile](https://hashnode.com/@mauvilsa)

AI Researcher & Engineer · Document understanding & information extraction · Open source maintainer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
