Image of react todo app developed using node 10 and runs on nginx-1.17.1.
100K+
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.
Docker is setup on your machine.
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
Content type
Image
Digest
Size
8.3 MB
Last updated
over 6 years ago
docker pull sanjaysaini2000/react-app