This is a Docker image for the OpenStack VirtualBMC project
To build the project:
make
To list the images:
make list
To run any tests:
make test
To push image to remote docker repository:
REPO_PASSWORD='MyPassword!$' make push
To update README on remote docker repository (docker hub):
REPO_PASSWORD='MyPassword!$' make push-readme
To cleanup and remove built images:
make clean
The below example shows how to use this container by mounting an ssh key into the virtualbmc user's directory.
This will start the VirtualBMC Daemon (vbmcd) and attach to your host's network.
To run the container:
docker run -d -v /home/someuser/.ssh/id_rsa:/virtualbmc/.ssh/id_rsa:ro --name virtualbmc --network host solidcommand/virtualbmc
Once you have started the daemon you can add hosts on a remote box by using something like the following:
docker exec -i -t virtualbmc vbmc add node01 --port 6230 --libvirt-uri 'qemu+ssh://[email protected]/system' --no-daemon
docker exec -i -t virtualbmc vbmc add node02 --port 6231 --libvirt-uri 'qemu+ssh://[email protected]/system' --no-daemon
docker exec -i -t virtualbmc vbmc start 'node01' --no-daemon
docker exec -i -t virtualbmc vbmc start 'node02' --no-daemon
docker exec -i -t virtualbmc vbmc list
On your host machine you should be able to run IPMI commands:
ipmitool -I lanplus -U admin -P password -H 127.0.0.1 -p 6230 power status
Content type
Image
Digest
Size
37.5 MB
Last updated
almost 7 years ago
docker pull solidcommand/virtualbmc