Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.
This repository was archived by the owner on May 27, 2026. It is now read-only.

Add a way to reload/recreate the environment or add compose labels to containers from ui or cli #134

Open

Description

@bastianb

Tell us about your request
A button (or cli command) that will reload the environment - running a "docker compose up" under the hood?
And/Or add compose labels to the containers, so one can change the running container in an environment with docker compose itself.

Which service(s) is this request for?
docker dev environment

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
When I am working on an environment with few containers, I need to change compose configuration, or install new system package in app container, like adding a new lib or bumping database version, which require a restart or rebuild of container(s). I want to be able to not have to delete the whole environment each time I do that.

Are you currently working around the issue?
As of today, I run VScode directly on the folder of my project, and execute docker compose commands, which make this docker dev env feature useless.

Additional context
Being able to recreate the environment IMO is a critical feature. Too many time a developer will have to change either the dockerfile(s) or compose files, or a part of the code that require the container to restart. Having to delete the env and recreating it is a painful process and can take time if you have lot of thing to pre-built. Or I fail to see the point of docker dev envs (?).

Activity

  1. Hronom commented on Oct 31, 2022

    @Hronom

    +1 this is critical feature for Dev Environments adoption

  2. bastianb commented on Nov 2, 2022

    @bastianb
    Author

    due to the current state of the docker dev env, there is the VSCode alternative it self, which just work:
    https://code.visualstudio.com/docs/devcontainers/create-dev-container#_extend-your-docker-compose-file-for-development

  3. Hronom commented on Nov 3, 2022

    @Hronom

    @bastianb I got question why it's closed? Actually I believe this issue tracker is for this feature
    image
    https://docs.docker.com/desktop/dev-environments/

    So we need a button that will re-scan compose-dev.yaml and update proprieties for related containers.
    Some button needed here:
    image

  4. bastianb commented on Nov 3, 2022

    @bastianb
    Author

    I can reopen it, but I have very low hope for it to be ever as feature rich as vscode dev container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions