Sign inSign up

imvickykumar999/web-ui

By imvickykumar999

•Updated over 1 year ago

Image
0

223

imvickykumar999/web-ui repository overview

⁠1. Build the Docker Image
docker build -t imvickykumar999/web-ui:latest .
  • Purpose: Builds a Docker image from the current directory (.) and tags it as imvickykumar999/web-ui:latest.
  • Usage: This command creates the image based on the Dockerfile in the current directory.
⁠2. Login to Docker Hub
docker login
  • Purpose: Logs you into Docker Hub, allowing you to push and pull images.
  • Usage: You enter your Docker Hub username and password to authenticate with Docker Hub.
⁠3. Push the Docker Image to Docker Hub
docker push imvickykumar999/web-ui:latest
  • Purpose: Pushes the Docker image (imvickykumar999/web-ui:latest) to your Docker Hub repository.
  • Usage: After building the image, this command uploads it to Docker Hub so others (or you on different machines) can access it.
⁠4. Pull the Docker Image from Docker Hub
docker pull imvickykumar999/web-ui:latest
  • Purpose: Downloads the Docker image (imvickykumar999/web-ui:latest) from Docker Hub to your local machine.
  • Usage: You can use this command on any machine to fetch the image from Docker Hub.
⁠5. Run the Docker Container
docker run -p 7788:7788 imvickykumar999/web-ui:latest
  • Purpose: Runs the Docker container using the image (imvickykumar999/web-ui:latest) and maps port 7788 on the container to port 7788 on the host.
  • Usage: This starts the application inside the container, making it accessible at http://localhost:7788 on your local machine.

Tag summary

Content type

Image

Digest

sha256:6e7914e4a…

Size

962.4 MB

Last updated

over 1 year ago

docker pull imvickykumar999/web-ui