Skip to content

[Feature]: access to docker compose commands #753

@mathroc

Description

@mathroc

Before submitting

  • I have searched existing issues and discussions to confirm this hasn't been requested

Problem or motivation

sometimes I wish I could run the commands I'm used to run when I was using docker-compose directly (stop/restart a single service, read some logs, exec into a container, update a service I changed the config of, etc)

otherwise I have to fallback to docker commands, or restarting / recreating all services

Proposed solution

devpod compose $id logs my_service -f where logs my_service -f is anything I could have put after docker compose

devpod would update the docker-compose config for the project and then handing over the rest to docker compose ... with the appropriate project name / working dir / config file

Alternatives considered

No response

Area

CLI

Acceptance criteria

  • user can run any docker compose command in the context of the chosen project

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions