Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Use docker compose exec rather than docker exec -ti #162

@tbroyer

Description

@tbroyer

Compose has a docker compose exec command that's equivalent to docker exec -ti and frees you from having to know/guess/find the name of the container: you just use the name of the service as declared in the compose file and Compose maps it for you.

In https://help.penpot.app/technical-guide/getting-started/#create-users-using-cli, the command can thus be replaced with

docker compose exec penpot-backend python3 ./manage.py create-profile

and the note that follows regarding the exact name of the container can be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions