Run Dell SYSCFG inside a Docker Container

Estimated Reading Time: 2 minutes

Docker is all about application. It doesn’t need BIOS, NIC and firmware to run any application. But its gives you flexibility to put any kind of application(one could be changing BIOS settings, system management settings etc.) inside a container.

Pretty cool..Huh !!!

Today I thought of experimenting with one of Dell system management tools. I picked up Dell SYSCFG.

I was finally happy to make it work. Interestingly I was able to do it under MBs. You can visit https://hub.docker.com/r/ajeetraina/dell-syscfg/ to try this image.

Here is how it went:

Ensure that docker.io service is running in your Ubuntu machine.
root@dell-virtual-machine:~# service docker.io restart
docker.io stop/waiting
docker.io start/running, process 6322

Let’s first search for dell-syscfg image which I uploaded sometimes back:
root@dell-virtual-machine:~# docker search dell-syscfg
NAME                     DESCRIPTION                       STARS     OFFICIAL   AUTOMATED
ajeetraina/dell-syscfg   Dell SYSCFG in Docker container   0

It’s there. Great !! Let us pull the Docker image as shown below:

root@dell-virtual-machine:~# docker run –privileged ajeetraina/dell-syscfg:v1.0 /opt/dell/toolkit/bin/syscfg -h
Unable to find image ‘ajeetraina/dell-syscfg:v1.0’ locally
Pulling repository ajeetraina/dell-syscfg
d121b6e6dba4: Pulling image (v1.0) from ajeetraina/dell-syscfg, endpoint: https://registryd121b6e6dba4: Pulling dependent layers
539c0211cd76: Download complete
dbf87b16c95b: Download complete
bfb56f437936: Download complete
337e820ac065: Download complete

syscfg Version 5.1.0.0000 abu00 (Linux – Mar  5 2015, 15:05:08)
Copyright (c) 2002-2015 Dell Inc.

Usage: syscfg –option[=argument]

For more information about a particular command,
use the option ‘-h’ followed by the command name.
Example: syscfg -h –asset

-b or –byte                             -n or –namefile
–biosver or –SystemBiosVersion*        -o or –outfile
–chassistype*                           –ovrwrt*
–cpucount*                              –pci*
–cpuspeed*                              -r or –read*
–deviceguid*                            -s
–envar                                  –sysid*
–envfile                                –sysname*
-h or –help                             –uuid*
-i or –infile                           –version*
-l or –logfile                          -x or –hex*
–mem*

It went great and finally I can go ahead and make necessary change for my BIOS. Yippeee!!!!

Give a spin and try this out…

Clap