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 docker cmd manage tool on mac #602

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

reidliu41
Copy link
Contributor

@reidliu41 reidliu41 commented Jan 15, 2024

Hi, just update a tool to manage the docker cmd easily

$ ./eda_docker_cmd.sh
=============================================================================
To manage the docker cmd easily.
NOTE:
Make sure the base container environment already setup.
The default docker-compose yml is ../tools/docker/docker-compose-mac.yml
You can export yml dir e.g.: export EDA_DOCKER_COMPOSE_YML_DIR="/path/docker-compose-mac.yml"
Usage: eda_docker_cmd.sh [ARGS]
  up                                 Run: docker-compose -f docker-compose-mac.yml up -d
  down                               Run: docker-compose -f docker-compose-mac.yml down -v
  lp,list-process                    List the process
  li,list-images                     List the images
  dl,docker-log                      To check single docker log with container id
  dcl,docker-compose-log             To check docker-compose log
  s,shell                            Open a docker shell quickly with container id
  ri,remove-image                   Remove images with container id
=============================================================================

@reidliu41 reidliu41 requested a review from a team as a code owner January 15, 2024 12:49
@Alex-Izquierdo
Copy link
Collaborator

hi @reidliu41 We appreciate your contribution, but I'm not sure if it's a good idea to maintain a new bash script for this when all the common operations are handled by task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants