From ce869755c8054a1abd0b297c9d6ed2886c70e31f Mon Sep 17 00:00:00 2001 From: chen Date: Thu, 19 Oct 2023 17:54:29 +0800 Subject: [PATCH] add docker to readme --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index da4f76d..536c337 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,22 @@ You can start editing the page by modifying `app/page.tsx`. The page auto-update This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. +## Using Docker + +**1. [Install Docker](https://docs.docker.com/get-docker/) on your machine.** + +**2. Build your container:** +```bash +docker build -t megaease/easegress-portal -f rootfs/Dockerfile . +``` + +**3. Run your container:** +```bash +docker run -p 3000:3000 megaease/easegress-portal +``` + +You can view your images created with `docker images`. + ## Screenshots **1. Cluster Management**