forked from danielsuo/libdocker
-
Notifications
You must be signed in to change notification settings - Fork 1
Building the Project
Srijan edited this page Mar 25, 2020
·
2 revisions
It is pretty straightforward to build the project...
- Use the compile script to build the project. ( It takes care of the nuances so that you don't have to trouble yourself with the build commands.)
- .deb package is created which can be used to distribute the libdocker. ( Take care of the supported architecture though )
- Installing libdocker using the dpkg command
sudo dpkg -i <package_name>( You can find the .deb file inside the build folder. - Installing libdocker .deb package will have the following effects,
- libcdocker.so will be installed in the /usr/lib directory.
- docker.h will be installed in the /usr/include directory.
- cdocker_example will be installed in /usr/bin directory. ( Provided you have enabled the build for example code.)
- Removing the components from the system is pretty straightforward, use the command
sudo dpkg -r cdocker