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

Step 3: Linking Containers ... Not clear you are meant to stop the old users-service #5

Open
That-David-Guy opened this issue Aug 8, 2016 · 0 comments

Comments

@That-David-Guy
Copy link

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

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

No branches or pull requests

1 participant