This project exists solely to set up the build environment/dependencies
properly to build the Docker Provider for OMI properly. It also contains
versioning information for use by the Jenkins build system.
Build Environment
The docker provider is intended to build on an Ubuntu 14.04
system. No other systems have been tested for build purposes.
The project assumes that the sudo command is permitted without any
passwords. Please configure the /etc/sudoers file appropriately.
If the system will be used for Jenkins, then Java is required:
sudo apt-get install openjdk-7-jre
Build dependencies are required. To install packages for building
Docker-Cimprov,
please execute:
cd bld-docker/docker/build
./configure --enable-ulinux
make
The resulting shell installation bundle will be found in
../target/Linux_ULINUX_1.0_x64_64_Release/.
Running unit tests
To run the unit tests, docker must be properly configured first. Note
that these may change; for latest and greatest installation
instructions, see the Docker Site.
Assuming the instructions from the Docker Site have not changed, execute:
Build-Docker-Provider
Superproject for Docker-Provider Project
The following information is provided in this README file:
Introduction
This project is a build superproject for the Docker Provider for OMI.
This project exists solely to set up the build environment/dependencies properly to build the Docker Provider for OMI properly. It also contains versioning information for use by the Jenkins build system.
Build Environment
The docker provider is intended to build on an Ubuntu 14.04 system. No other systems have been tested for build purposes.
The project assumes that the
sudocommand is permitted without any passwords. Please configure the/etc/sudoersfile appropriately.If the system will be used for Jenkins, then Java is required:
Cloning Repository
To clone the repository, execute the following command:
Building Instructions
To build the project, execute commands like:
The resulting shell installation bundle will be found in
../target/Linux_ULINUX_1.0_x64_64_Release/.Running unit tests
To run the unit tests, docker must be properly configured first. Note that these may change; for latest and greatest installation instructions, see the Docker Site.
Assuming the instructions from the Docker Site have not changed, execute:
After docker is configured, then from the same build directory as above, run:
Final Kit Testing Instructions
Make sure the
OMS Agentis installed. You can find instructions here.To install the bundle run it with –install. For example (actual bundle name may be different):
After the shell bundle is installed, you can verify proper operations.
You will need to have some docker containers and images created on the server. To enumerate your containers run:
You can compare this output with the containers found by the OMS provider by running:
To enumerate your images run:
Compare this output with the images found by the OMS provider by running:
If you have running containers you can view statistics and events with these commands:
Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct] (https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ] (https://opensource.microsoft.com/codeofconduct/faq/) or contact opencode@microsoft.com with any additional questions or comments.