Semantic Containers enable secure and traceable data exchange between 2 parties.
more infos and documentation: https://ownyourdata.eu/en/semcon
Get the image for the base container from Dockerhub: https://hub.docker.com/r/semcon/sc-base/
Perform the following steps to start the base container:
- Start the container
docker run -d -p 3000:3000 semcon/sc-base
- Initialize the container
curl -H "Content-Type: application/json" -d "$(< init.json)" -X POST http://localhost:3000/api/desc
- Write data into the container
curl -H "Content-Type: application/json" -d '{"my": "data"}' -X POST http://localhost:3000/api/data
- Read data from container
curl http://localhost:3000/api/data
- create image with data
docker commit container_name semcon/data-example
and afterwards you can start the container and access the data:
docker run -d -p 3001:3000 semcon/data-example
curl http://localhost:3001/api/data
Please report bugs and suggestions for new features using the GitHub Issue-Tracker and follow the Contributor Guidelines.
If you want to contribute, please follow these steps:
- Fork it!
- Create a feature branch:
git checkout -b my-new-feature
- Commit changes:
git commit -am 'Add some feature'
- Push into branch:
git push origin my-new-feature
- Send a Pull Request