From fccf4296ebd0e09bdfa7fcfda2246f4008cfdab7 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 22 Aug 2022 01:12:27 +0000 Subject: [PATCH] updated README.md --- codepot/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codepot/README.md b/codepot/README.md index 8ab00461..590861cf 100644 --- a/codepot/README.md +++ b/codepot/README.md @@ -14,8 +14,8 @@ You may pull the image from the Docker Hub and run a container from the image. For example, you may run the following commands to start the container. ``` -$ docker pull hyunghwan/codepot:ubnt20.04 -$ docker run -dit --restart=unless-stopped --name=codepot -p 1080:1080 hyunghwan/codepot:ubnt20.04 --port=1080 --https-redirected=yes --hide-index-page=yes +$ docker pull hyunghwan/codepot:ubnt +$ docker run -dit --restart=unless-stopped --name=codepot -p 1080:1080 hyunghwan/codepot:ubnt --port=1080 --https-redirected=yes --hide-index-page=yes ``` Then you can open a web browser to http://docker-host-address:1080/ to access the codepot system. @@ -41,7 +41,7 @@ If you like to keep the data persistenly on the docker host, map /var/lib/codepo directory or a volume on the host when starting the container. ``` -$ docker run -dit --restart=unless-stopped --name=codepot -p 1080:1080 -v ${HOME}/codepot-data:/var/lib/codepot hyunghwan/codepot:ubnt20.04 --port=1080 --https-redirected=yes --hide-index-page=yes +$ docker run -dit --restart=unless-stopped --name=codepot -p 1080:1080 -v ${HOME}/codepot-data:/var/lib/codepot hyunghwan/codepot:ubnt --port=1080 --https-redirected=yes --hide-index-page=yes ``` If you run this command, codepot stores all data under ${HOME}/codepot-data from the host