You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: