add run subcommand

Đang mở
#43 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
54/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
docker, swift
Lĩnh vực
cli, devops

Hướng nghiên cứu

Read the command handling for container-compose up and compare its behavior with the requested docker compose run workflow. Add a subcommand for running a one-off container command that waits for it to exit and reports whether it succeeded; verify it using the Postgres and Flyway scenario described in the issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I may have missed the feature, but what I'm missing is an equivalent to docker compose run. My setup is a Postgres container that I start in the background (container-compose up -d postgres) and then a flyway container that I run as a one-off command, not in a detached state, but I wait until it exits to know the migration went through without problems. Currently, when I use container-compose up flyway, it will not exit after the command finishes.

Ngôn ngữ chính
Swift
Star
1k
Fork
61
Merge trung bình
2 ngày 4 giờ
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Mcrich23/Container-Compose

Tất cả issue của Mcrich23/Container-Compose

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.