Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
428 views
in Technique[技术] by (71.8m points)

haskell - Local hackage-server build in docker does not respond

I am trying to install and run a local hackage-server to maintaining private packages. I have followed instruction from https://github.com/haskell/hackage-server/blob/master/Dockerfile:

Usage:

Build the container
$ docker build . -t siddhu/hackage-server
 
Shell into the container
$ docker run -it -p 8080:8080 siddhu/hackage-server /bin/bash

Run the server
Docker> # hackage-server run --static-dir=datafiles

At the end I got this:

hackage-server: Ready! Point your browser at http://127.0.0.1:8080

But it does not respond in browser or curl. Am I missing something?

question from:https://stackoverflow.com/questions/65853807/local-hackage-server-build-in-docker-does-not-respond

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...