Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bastianb opened this issue Oct 30, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@bastianb
Copy link

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 (?).

@bastianb bastianb added the enhancement New feature or request label Oct 30, 2022
@Hronom
Copy link

Hronom commented Oct 31, 2022

+1 this is critical feature for Dev Environments adoption

@bastianb
Copy link
Author

bastianb commented Nov 2, 2022

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

@bastianb bastianb closed this as completed Nov 2, 2022
@Hronom
Copy link

Hronom commented Nov 3, 2022

@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

@bastianb
Copy link
Author

bastianb commented Nov 3, 2022

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
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants