Sign inSign up

venkataratnamb20/react-test

By venkataratnamb20

•Updated almost 5 years ago

Image
0

427

venkataratnamb20/react-test repository overview

⁠Introduction

  • Test development application with port exposed to 3000
  • This is not a full website

⁠References

⁠Docker usage guidance

⁠PULL Image

$ docker pull venkataratnamb20/react-test:latest

⁠RUN container

Syntax: $ docker run -d -p <External port to be>:<docker internal port>--name <custom name> venkataratnamb20/react-test:latest
$ docker run -d -p 3000:3000 --name react-test-dev venkataratnamb20/react-test:latest Above command generates a id.

⁠check the log file to see more information like running status

$ docker logs <id created during docker run command>

⁠check running processes

$ docker ps

⁠check all processes

$ docker ps -a

⁠stop running

$ docker stop <image id or image name>

⁠Eenter container environment

$ docker exec -it <name> bash

⁠Remove docker

  • To remove docker: $ docker rm <name>
  • To remove image: $ docker rmi <name or id>
  • To remove all stopped containers: docker rm $(docker ps --filter status=exited -q)
  • To remove container and its volumes $ docker rm -v <name>

Tag summary

Content type

Image

Digest

Size

176.5 MB

Last updated

almost 5 years ago

docker pull venkataratnamb20/react-test