Skip to content

Commit

Permalink
Update Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeeban committed Dec 18, 2018
1 parent 07454d1 commit deb046a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions DOCKER-README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Bindaas 3.3.4 Docker Container
# Bindaas 3.3.5 Docker Container


## For the Bindaas User: Running the Docker Container
Expand Down Expand Up @@ -28,9 +28,9 @@ More information - https://docs.docker.com/docker-for-mac/release-notes/#docker-

From the <BINDAAS-DIST-ROOT>/bin directory,

$ docker build -t bindaas:3.3.4 .
$ docker build -t bindaas:3.3.5 .

You will get the output "Successfully tagged bindaas:3.3.4" if everything went fine.
You will get the output "Successfully tagged bindaas:3.3.5" if everything went fine.


Confirm that by running
Expand All @@ -39,13 +39,13 @@ $ docker image ls

REPOSITORY TAG IMAGE ID CREATED SIZE

bindaas 3.3.4 a9a81d677bb2 5 minutes ago 59MB
bindaas 3.3.5 a9a81d677bb2 5 minutes ago 59MB



### Tag the image with the user name:

$ docker tag bindaas:3.3.4 pradeeban/bindaas:3.3.4
$ docker tag bindaas:3.3.5 pradeeban/bindaas:3.3.5


### Log in and push the image to the Docker repository:
Expand All @@ -54,4 +54,4 @@ Before committing, make sure Bindaas runs fine in the container using the comman

$ docker login

$ **docker push pradeeban/bindaas:3.3.4**
$ **docker push pradeeban/bindaas:3.3.5**
6 changes: 3 additions & 3 deletions distribution/build-extras/bin/docker-run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

wget https://github.com/sharmalab/bindaas/releases/download/v3.3.4/bindaas-dist-3.3.4.tar.gz
wget https://github.com/sharmalab/bindaas/releases/download/v3.3.5/bindaas-dist-3.3.5.tar.gz

tar -xvf bindaas-dist-3.3.4.tar.gz && rm bindaas-dist-3.3.4.tar.gz
tar -xvf bindaas-dist-3.3.5.tar.gz && rm bindaas-dist-3.3.5.tar.gz

docker run --name bindaas -v $PWD/bin:/root/bindaas/bin/ -v $PWD/bundles:/root/bindaas/bundles/ -v $PWD/log:/root/bindaas/log/ -p 8080:8080 -p 9099:9099 pradeeban/bindaas:3.3.4
docker run --name bindaas -v $PWD/bin:/root/bindaas/bin/ -v $PWD/bundles:/root/bindaas/bundles/ -v $PWD/log:/root/bindaas/log/ -p 8080:8080 -p 9099:9099 pradeeban/bindaas:3.3.5

0 comments on commit deb046a

Please sign in to comment.