Pentaho Tools :

Pentaho C-Tools(CDE,CDF,CDA),Pentaho CE & EE Server,OLAP-Cubes,Analysis using Pivot4J, Saiku Analytics, Saiku Reporting, Ad-hoc Reporting using Interactive Reporting Tool,Dashboards,Reports using PRD, PDD,Data Integration using Kettle ETL,Data Mining usign WEKA,Integration of Servers with Databases,Mobile/iPad compatible Dashboards using Bootstrap Css,Drilldown dashboards,Interactive Dashboards

Monday, 10 July 2017

Docker Example : Hello world ( Creating, push and pull an image and run as a container)

Building app (Image > Container)
Reference for this example 
Create a directory
mkdir hello
Create these 3 files
Dockerfile         requirements.txt
Building image(app)
docker build -t friendlyhello .                 
Running App(container)
docker run -p 4000:80 friendlyhello  (4000 is the OS port and 80 is the port being used by the python in container)
Open webbrowser and type
NOTE is the default IP address of docker installed OS
View the container created
docker ps

Share your image to Docker public registry

A registry is a collection of repositories

A repository is a collection of images

Restart the environment
docker-machine restart default

Refresh environment settings
eval $(docker-machine env default)

docker login

Associating a local image with a repository on a registry

Tagging an image
docker tag friendlyhello sadakar/get-started:part1

john is the username , get-started is the repository name and part1 is the tag

Pushing the image
docker push sadakar/get-started:part1

docker push sadakar/get-started:part2

Pull and run the image from the remote repository
docker run -p 5000:80 sadakar/get-started:part2