Proactive Technology Online (Proton) is a CEP instance of FIWARE
2.0K
You can install the Proactive Technology Online very easily using docker.
Follow these steps:
Update /etc/hosts to add the current machine as a hostname.
Install docker.
Start the docker daeomon - either during the docker installationve, or with the command
sudo docker daemon & # THIS NEEDS TO BE RUN ONLY ONCE, IN THE BACKGROUND
Or you can use the "Docker Quickstart Terminal" application.
Navigate to a folder where you’d like the docker files to be placed.
Download the docker files to this new folder from the GitHub Proton repository. You can do that with the SVN command
svn checkout https://github.com/ishkin/Proton.git/trunk/docker
Build the Docker Image from the Dockerfile:
sudo docker build –t proton .
Run the docker image you just generated:
sudo docker run --name=proton -p 8080:8080 -it -d proton
We can login to the image:
sudo docker ps # That will provide <container_id> for the proton image. That id is also "proton" if the --name=proton param was used in the docker run command.
sudo docker exec -it <container_id> bash
Try it.
Note: With the latest Docker tools for the Mac, the tool boot2docker is not needed anymore as shown in the next example. Once the new Docker tool is installed, use the same commands as described above also on the Mac.
Docker should start with boot2docker:
boot2docker up # startup the docker daemon
eval "$(boot2docker shellinit)"; # set up environment variables
boot2docker ip # obtain docker image ip on your machine
# After starting your image (docker run command - see above), run the next command to set up the port mapping:
VBoxManage controlvm "boot2docker-vm" natpf1 "tcp-port8080,tcp,,8080,,8080";
# Now you can try tomcat with this command:
open http://localhost:8080
Using the ready image in the Proton Docker Hub.
(7). Run the docker image from the docker hub:
sudo docker run --name=proton -p 8080:8080 -it -d proton
Content type
Image
Digest
Size
196 MB
Last updated
about 10 years ago
docker pull fiware/proactivetechnologyonline