Sign inSign up

sanjaysaini2000/react-app

By sanjaysaini2000

Updated over 6 years ago

Image of react todo app developed using node 10 and runs on nginx-1.17.1.

Image
0

100K+

sanjaysaini2000/react-app repository overview

About this Image:

This is an image of react todo app developed using node 10 and runs on nginx-1.17.1. This image is using node image for packaging and nginx 1.17.1 server image for app deployment.

Prerequisite:

Docker is setup on your machine.

Steps to use this image:

1- Start the container with this image

docker run -d -it  -p 80:80/tcp --name react-app sanjaysaini2000/react-app:latest

2- Check the running containers

docker ps

3- Check the docker host IP

docker-machine ls

And note the URL of the docker host i.e. tcp://192.168.99.100:2376

4- Now open the browser and type in the address bar http://host url:80

i.e. http://192.168.99.100:80

You have successfully host react todo app in a docker container.

5- To kill the container run following command

  docker kill react-app
Built with:
  • Docker Toolbox on Windows
  • Docker version 19.03.1

Tag summary

Content type

Image

Digest

Size

8.3 MB

Last updated

over 6 years ago

docker pull sanjaysaini2000/react-app