1
0
mirror of https://github.com/mveril/qp-demo synced 2024-07-03 09:56:00 +02:00
Go to file
2020-03-31 18:19:36 +02:00
examples Initial commit 2019-11-06 14:40:50 +01:00
.gitignore Initial commit 2019-11-06 14:40:50 +01:00
Dockerfile Put copy of examples after quantum package move 2019-11-06 15:15:39 +01:00
Dockerfile.compile Fix error in apt 2020-03-31 18:19:36 +02:00
Makefile Initial commit 2019-11-06 14:40:50 +01:00
README.md Complete README 2019-11-06 16:07:11 +01:00
run.sh Fix image name 2019-11-06 16:13:48 +01:00

qp-demo

This is the component used in the Quantum Package demo

  • examples: Examples included with quantum package docker image.

  • Dockerfile: Create docker image from prebuild quantum package quantum_package_static.tar.gz. This is the image of Quantum Package demo

  • Dockerfile.compile: Create docker image from the Quantum Package GitHub repo.

  • run.sh: run the image in the context of the demo. (With isolated network, a limited number of container and a time limit)

What is Docker

Docker is a containerization software. For more info about it you can cosult the official Docker documentation

How to build the image

Precompiled

run make

A tar.gz archive of quantum package is needed at the root of the project with the name quantum_package_static.tar.gz

This archive can be create with the command qp_export_as_tgz of quantum package

Compiled from github

run make compile

There is no guarantee of success because its use the Quantum Package ./configure tool to install third party dependencies.

Before use run.sh

We must run make network before the first use of run.sh because it use a custom network bridge to disable communication between QP2 containers