Skip to content

Commit

Permalink
add specific dockers per use-case
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 30, 2019
1 parent b01fe84 commit 43bae72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
8 changes: 4 additions & 4 deletions buildDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
#run docker locally with host ports mapping - option 2
#docker run --network host -it yangdb/yang.db:${tagname}

0 comments on commit 43bae72

Please sign in to comment.