dwmkerr / dwmkerr/node-docker-microservice
Step 3: Linking Containers ... Not clear you are meant to stop the old users-service
- Dominant language
- JavaScript
- Stars
- 171
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Hey
This is for your blog entry: http://www.dwmkerr.com/learn-docker-by-building-a-microservice/
In _step 3: Linking Container with the 'link' parameter_, I had both containers running when I tried to run the following `docker run -it -p 8123:8123 --link db:db -e DATABASE_HOST=DB users-service`.
My understanding was it would connect two currently running containers, not a one currently running to a new one. The error message wasn't helpful at all either.
It would had been clearer to me if you specifically state you have to stop the `users-service` container before running this command.
Cheers
Contributor guide
No contributing guide indexed for this repository
Research direction
Open the linked blog entry and read “Step 3: Linking Container with the 'link' parameter,” then reproduce the documented docker run command if needed. Clarify in that step that the existing users-service container must be stopped before starting the linked container, and explain what the command connects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, javascript, nodejs
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100