Skip to content

Docker: Enhance run dialog to define an environment for the container - #9618

Merged
matthiasblaesing merged 1 commit into
apache:masterfrom
matthiasblaesing:docker-env
Sep 27, 2026
Merged

matthiasblaesing merged 1 commit into
apache:masterfrom
matthiasblaesing:docker-env

Conversation

@matthiasblaesing

Copy link
Copy Markdown
Contributor

Many docker images need configuration in the form of environment variables (i.e. general configuration, credentials). This PR adds the option to define the environment for the container to be started.

To illustrate the Ubuntu Noble image will be used with command /bin/bash -c 'set':

grafik

On the new "Environment" page both an .env-File and in place variables are defined:

grafik

The resulting output:

grafik

shows both expected variables in the output (see second to last and third to last rows).

Closes: #9559

@matthiasblaesing matthiasblaesing added this to the NB32 milestone Sep 14, 2026
@matthiasblaesing matthiasblaesing added Docker ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Sep 14, 2026
@matthiasblaesing

Copy link
Copy Markdown
Contributor Author

Unless there are objections I plan to merge this in the next few days.

@matthiasblaesing
matthiasblaesing merged commit 605c99f into apache:master Sep 27, 2026
29 checks passed
@matthiasblaesing
matthiasblaesing deleted the docker-env branch October 10, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Docker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker Service not able to read system variables from .env file while launch RUN from a Docker image

2 participants