Reference

Reference #

ros Commands #

Commands / OptionsDescriptionExample
  --version / -vprint the versionros -v
  --help / -hshow helpros -h
osoperating system upgrade/downgradesee below
configconfigure settingssee below
consolemanage which console container is usedsee below
installinstall BurmillaOS to disksee below
enginemanage which Docker engine is usedsee below
servicesee below
tlssetup tls configurationsee below

ros os Sub-Commands #

Commands / OptionsDescriptionExample
versionshow the currently installed versionros os version
listlist the current available versionsros os list
  --update / -uupdate engine cacheros os list --update
upgradeupgrade to the latest versionros os upgrade
  --image / -iupgrade to a certain imageros os upgrade --image value
  --stage / -sonly stage the new upgrade, don’t apply itros os upgrade --stage
  --force / -fdo not prompt for inputros os upgrade --force
  --kexec / -kreboot using kexecros os upgrade --kexec
  --no-rebootdo not reboot after updateros os upgrade --no-reboot
  --appendappend additional kernel parametersros os upgrade --append value
  --upgrade-consoleupgrade console even if persistentros os upgrade --upgrade-console
  --debugrun installer with debug outputros os upgrade --debug

ros config Sub-Commands #

Commands / OptionsDescriptionExample
getget valueros config get value
setset a valueros config set value
imageslist Docker images for a configuration from a fileros config images
  --input / -ifile from which to read configros config images --input value
generategenerate a configuration file from a templateros config generate
mergemerge configuration from stdinros config merge
  --input / -ifile from which to readros config merge --input value
exportexport configurationros config export
  --output / -ofile to which to saveros config export --output value
  --private / -pinclude the generated private keysros config export --private
  --full / -fexport full configuration, including internal and default settingsros config export --full
validatevalidate configuration form stdinros config validate
  --input / -ifile from which to readros config validate --input value
syslinuxedit Syslinux boot global.cfgros config syslinux

ros console Sub-Commands #

Commands / OptionsDescriptionExample
listlist available consolesros console list
  --update / -uupdate engine cacheros console list --update
enableset console to be switched on next bootros console enable default
switchswitch console without a rebootros console switch default
  --force / -fdo not prompt for inputros console switch --force default
  --no-pulldon’t pull console imageros console switch --no-pull default

Available Consoles #

ConsoleImageDescription
defaultdebian:buster-slimDebian 10 “Buster” (slimmer base)
debiandebian:busterDebian 10 “Buster”
debian_testingdebian:testingDebian 10 “Buster” (more recent software)
ubuntuubuntu:latestUbuntu “latest”
alpinealpine:latestAlpine “latest”
fedorafedora:latestFedora “latest”

ros install Sub-Command #

Command / OptionsDescriptionExample
installInstall BurmillaOS to diskros install
  --cloud-config / -ccloud-config yml file - needed for SSH authorized keysros install --cloud-config value
  --device / -dstorage deviceros install --device value
  --image / -iinstall from a certain imageros install --image value
  --save / -ssave services and images for next bootingros install --save
  --install-type / -tgeneric (default), amazon-ebs, gptsyslinuxros install --install-type value
  --force / -f[DANGEROUS! Data loss can happen] partition/format without promptingros install --force
  --partition / -ppartition to install toros install --partition value
  --append / -aappend additional kernel parametersros install --append value
  --debugrun installer with debug outputros install --debug
  --statedir valueinstall to rancher.state.directoryros install --statedir value
  --kexec / -kreboot using kexecros install --kexec
  --no-rebootdo not reboot after installros install --no-reboot
  --rollback / -rrollback versionros install --rollback

ros engine Sub-Commands #

Commands / OptionsDescriptionExample
listlist available Docker engines (include the DinD engines)ros engine list
  --update / -uupdate engine cacheros engine list --update
switchswitch user Docker engine without rebootros engine switch current
  --force / -fdo not prompt for inputros engine switch --force current
  --no-pulldon’t pull engine imageros engine switch --no-pull current
enableset user Docker engine to be switched on next bootros engine enable current
createcreate DinD engine without a rebootros engine create my_name
  --version / -vset version for the engineros engine create --version value my_name
  --networkset the network for the engineros engine create --network value my_name
  --fixed-ipset the fixed ip for the engineros engine create --fixed-ip value my_name
  --ssh-portset the ssh port for the engineros engine create --ssh-port value my_name
  --authorized-keysset the authorized_keys absolute path for the engineros engine create --authorized-keys my_name
rmremove DinD engine without a rebootros engine rm my_name
  --force / -fdo not prompt for inputros engine rm --force my_name
  --timeout / -tspecify a shutdown timeout in seconds (default: 10)ros engine rm --timout 10 my_name

ros service Sub-Commands #

Commands / OptionsDescriptionExample
listlist services and stateros service list
  --update / -uupdate service cacheros service list --update
  --all / -alist all services and stateros service list --all
upcreate and start containersros service up
  --foregroundrun in foreground and logros service up --foreground
  --no-builddon’t build an image, even if it’s missingros service up --no-build
  --no-recreateif containers already exists, don’t recreate them. Incompatible with --force-recreateros service up --no-recreate
  --force-recreaterecreate containers even if their configuration and imager haven’t changed. Incompatible with no-recreateros service up --force-recreate
downstop and remove containers, networks, images, and volumesros service down
  --volumes / -vremove data volumeros service down --volumes
  --rmiremove images, type may be one of: ‘all’ to remove all images, or ‘local’ to remove only images that don’t have an custom name set by the image fieldros service down --rmi value
  --remove-orphansremove containers for services not defined in the Compose fileros service down --remove orphans
enableturn on a serviceros service enable
disableturn off a serviceros service disable
rmdelete servicesros service rm
  --force / -fallow deletion of all servicesros service rm --force
  -vremove volumes associated with containersros service rm -v
deletedelete a serviceros service delete
logsview output from containersros service logs
  --linesnumber of lines to tail (default: 100)ros service logs --lines
  --follow / -ffollow log outputros service logs --follow
buildbuild or rebuild servicesros service build
  --no-cachedo not use cache when building the imageros service build --no cache
  --force-rmalways remove intermediate containersros service build --force-rm
  --pullalwys attempt to pull a newer version of the imageros service build --pull
createcreate servicesros service create
  --no-recreateif containers already exist, don’t recreate them. Incompatible with --force-recreateros service create --no-recreate
  --force-recreaterecreate containers even if their configuration and images haven’t changed. Incompatible with --no-recreateros service create --force-recreate
  --no-builddon’t build an image, even if it is missingros service create --no-build
startstart servicesros service start
  --foregroundrun in foreground and logros service start --foreground
restartrestart servicesros service restart
  --timeout / -tspecify a shutdown timeout in seconds (default: 10)ros service restart --timeout 10
stopstop servicesros service stop
  --timeout / -tspecify a shutdown timeout in seconds (default: 10)ros service stop --timeout 10
killkill containersros service kill
  --signal / -sSIGAL to send to the container (default: “SiGKILL”)ros service kill --signal value
pullpulls service imagesros service pull
  --ignore-pull-failurespull what it can and ignores images with pull failuresros service pull ----ignore-pull-failures
pslist containersros service ps
  -qonly display IDsros service ps -q

ros tls Sub-Command #

Command / OptionsDescriptionExample
generate / gengenerates new set of TLS configurations certsros tls gen
  --hostname / -Hthe hostname for which you want to generate the certificate (default: localhost)ros tls gen --hostname localhost
  --server / -sgenerate the server keys instead of client keysros tls gen --server
  --dir / -dthe directory to save/read certs from/toros tls gen --dir value