diff --git a/admin/README.md b/admin/README.md index 92138558..0635bb81 100644 --- a/admin/README.md +++ b/admin/README.md @@ -30,12 +30,12 @@ cd myems/admin docker build -t myems/myems-admin . ``` * Run a Docker container -If run on Windows host, bind-mount a share upload file folder at c:\upload to the container +If run on Windows host, bind-mount a share upload file folder at c:\myems-upload to the container -v parameter must be same with that in myems-api ```bash docker run -d -p 8001:8001 -v c:\myems-upload:/var/www/html/admin/upload --restart always --name myems-admin myems/myems-admin ``` -If run on Linux host, bind-mount a share upload file folder at /upload to the container +If run on Linux host, bind-mount a share upload file folder at /myems-upload to the container ```bash docker run -d -p 8001:8001 -v /myems-upload:/var/www/html/admin/upload --restart always --name myems-admin myems/myems-admin ```