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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verifying local installation #9

Open
zeke opened this issue Aug 29, 2017 · 2 comments
Open

Verifying local installation #9

zeke opened this issue Aug 29, 2017 · 2 comments

Comments

@zeke
Copy link

zeke commented Aug 29, 2017

馃憢

First time using Docker. I ran the one-liner from the README, and things appear to have worked. What do I do next? Is it now running somewhere?

$ docker run --detach --restart=always -p 80:80 --name my-registry --volume registry:/srv/data_volume wmhilton/modserv
Unable to find image 'wmhilton/modserv:latest' locally
latest: Pulling from wmhilton/modserv
693502eb7dfb: Pull complete 
081cd4bfd521: Pull complete 
5d2dc01312f3: Pull complete 
54a5f7da9a4f: Pull complete 
f6ebc0704397: Pull complete 
cd487f72ac9f: Pull complete 
c0484860bdc0: Pull complete 
28404ada322d: Pull complete 
9b125e113ffb: Pull complete 
b6f9e35312b0: Pull complete 
Digest: sha256:4b13e09895c8f72d761d1a16f110605ad66f1a1d92623f7fa117906889625433
Status: Downloaded newer image for wmhilton/modserv:latest
65616b80cbc63a4fd0a9d6334bf8eb7bee1be51ed8abb4292732b1c9ef60c87c
@billiegoose
Copy link
Owner

Should be! Try curling localhost and see if you get something back. Did you try the next bit of the readme about locating the config file? The docker command only opens up one port, so I'm thinking it relies on the HTTP Host header to determine whether a request is for the registry API or for the web interface. I added some pattern matching / routing stuff so I could configure subdomains in the config file, but I'm not sure off the top of my head what happens if you don't set up a config file.

@billiegoose
Copy link
Owner

This is super exciting BTW. What brings you to the land of run-your-own-npm-repos?

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

2 participants