diff --git a/Dockerfile b/Dockerfile index abd96743f..ab61423b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,7 @@ HEALTHCHECK --interval=5m --timeout=3s \ # Run cerebro CMD ["/cerebro-0.8.4/bin/cerebro"] + # Run fuse CMD ["/opt/engine/start-fuse-service.sh"] diff --git a/buildDocker.sh b/buildDocker.sh index e96664431..bc11a30ec 100755 --- a/buildDocker.sh +++ b/buildDocker.sh @@ -16,8 +16,8 @@ docker build . -t yangdb/yang.db:${tagname} echo "docker push yangdb/yang.db:${tagname}" docker push yangdb/yang.db:${tagname} -#run docker locally with port exposed -docker run -p 8888:8888 -it yangdb/yang.db:v1_Oct2019 +#run docker locally with port exposed - option 1 +#docker run -p 8888:8888 -it yangdb/yang.db:${tagname} -#run docker locally with host ports mapping -docker run --network host -it yangdb/yang.db:v1_Oct2019 \ No newline at end of file +#run docker locally with host ports mapping - option 2 +#docker run --network host -it yangdb/yang.db:${tagname} \ No newline at end of file