danielsuo / libdocker

An SDK for the Docker Engine API in C
MIT License
59 stars 24 forks source link

Added testing docs for docker API #10

Closed tiemma closed 2 years ago

tiemma commented 4 years ago

Description Adds docs on a quick test for the API with the code sample in a test.c for easy use

Notes Additional documentation on a quick test in a non-cmake environment was also added

gcc test.c ./src/docker.c -o test -std=c99 -lcurl -I ./src
./test
tiemma commented 4 years ago

Yes, it's a quick example of how to use the library.

I can see there are some merge conflicts, let me check that real quick