blockchain icon indicating copy to clipboard operation
blockchain copied to clipboard

how to solve this?

Open umamaheswari-ui opened this issue 4 years ago • 2 comments

Hi all,

gokul@gokul:~/blockchain$ docker build -t blockchain . Sending build context to Docker daemon 348.2kB Step 1/7 : FROM python:3.6-alpine ---> d6b500d78779 Step 2/7 : WORKDIR /app ---> Using cache ---> b31576fa6e36 Step 3/7 : ADD requirements.txt /app ---> Using cache ---> 3c87ba16e4bc Step 4/7 : RUN cd /app && pip install -r requirements.txt ---> Using cache ---> de25a55d3e66 Step 5/7 : ADD blockchain.py /app ---> Using cache ---> b35dc1785ac6 Step 6/7 : EXPOSE 5000 ---> Using cache ---> bc208757dac8 Step 7/7 : CMD ["python", "blockchain.py", "--port", "5000"] ---> Using cache ---> e159f19487d4 Successfully built e159f19487d4 Successfully tagged blockchain:latest

gokul@gokul:~/blockchain$ docker run --rm -p 80:5000 blockchain

  • Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)

After this i couldn't get anything. what to do?

umamaheswari-ui avatar Jul 06 '20 23:07 umamaheswari-ui

Please provide more details on "i couldn't get anything". The last line says docker instance is running and service is available on port 5000. More details you provide will help to respond quicker.

What does it show on postman?

adityapant1286 avatar Apr 07 '21 04:04 adityapant1286

I got the answer sir. Thank you for your reply. Thank You so much.

Thanks and Regards,

K.Uma Maheswari, Research Scholar/CSE, NIT - Trichy, Tamilnadu, India - 620015. Phone: 962 962 04 64

umamaheswari-ui avatar Apr 07 '21 04:04 umamaheswari-ui