Scenarioo Docker Image
Build it
Creating a Docker image means to create a ready-to-run-artifact. This includes setting up the infrastructure, installing the Scenarioo war file and configuring the webapp. This process can be made manually or can be registered as a task on your CI.
Prerequisite: You need to have docker installed on your machine. On Ubuntu this can be done by running sudo apt-get install docker.io.
- You find the necessary Dockerfile in the directory docker.
 - Locate the scenarioo.war you want to deploy. For official docker image releases download the official released WAR from https://github.com/scenarioo/scenarioo/releases or use the output of the release branch CircleCi build (scenario-
.war with exact correct version number! Please check!)  - Put the 
scenarioo.warnext to the Dockerfile into same directory and rename the WAR toscenarioo.warwithout version number. - Open a bash and navigate to the directory which contains the files
 - Now run the following command:
sudo docker build -t scenarioo/webapp:x.y.z -t scenarioo/webapp:latest .wherex.y.zstands for the Scenarioo version you are building the docker image for.buildis the docker command and the -t options allows to tag/name the created image (repository/artifact:tag). For more options view the docs. We tag it twice, with the actual version and with latest. - Use 
sudo docker imagesto verify the existence of the created image - Now you are ready to run (see "Run Scenarioo Docker Image") or push (see Push image to Dockerhub) your image.
 
Push image to Dockerhub
- Open a bash and check that the docker image is listed on the working machine:
sudo docker images - Run 
sudo docker loginfor authentication. You will be asked for the username (scenarioo) and the password (usual scenarioo master password). - Run the command: 
sudo docker push scenarioo/webapp:x.y.zwherex.y.zstands for the Scenarioo version. - Check Dockerhub to verify the image.
 
Check the docs for further actions like deleting, tagging and other commands on images.