The portal script was calling docker CLI to retrieve a mariadb
docker image that is hosted in the public hub. This change uses
the pull_docker_image functioUse the pull_docker_image function
Change-Id: Ie9f40fc019bda3655075b09d46360cdade8df949
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-Id: INT-21
# install_mariadb() - Pull and create a MariaDB container
function install_mariadb {
- is_package_installed docker-ce || install_docker
- docker pull mariadb
+ pull_docker_image mariadb
docker create --name data_vol_portal -v /var/lib/mysql mariadb
}