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

Improvement suggestion for REAMDE.md #2

Open
alex-ber opened this issue Aug 14, 2019 · 1 comment
Open

Improvement suggestion for REAMDE.md #2

alex-ber opened this issue Aug 14, 2019 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@alex-ber
Copy link

alex-ber commented Aug 14, 2019

I'm using GIt Bash to work with Docker on Windows.

I found this handy pattern:

cd /c/dev/work/

docker run -v pwd -W:/work -p 10000:10000 -p 10002:10002 -d --name local-erm opsguruhub/docker-hive:0.0.1

docker exec -it local-erm bash

Note

  1. Leading slash is required in Git Bash. (This is related to cd /c/dev/docker/ command).
  2. But when you mount you should use Windows path, this what pwd -W does (it resolves to C:/dev/docker)
  3. Using --name serve 2 goals: first no usage of CONTAINER_ID and I have meaningful name for container to reference.
@mvk
Copy link

mvk commented Aug 15, 2019

@alex-ber this is an open project, please fork, branch off and send a pull request.

@mvk mvk added the documentation Improvements or additions to documentation label Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants