Categories
AI Voice over IP

Building IBM Watson Voice Engine with Docker & Ubuntu 18.04

Building IBM Watson’s Conversational Voice engine with Docker & Ubuntu 18.04

Upgrade Repos

apt-get update && apt-get upgrade

Install Docker-CE

Latest info available from Docker directly.

sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io

Docker Installer Machine

Latest info from Docker directly.

base=https://github.com/docker/machine/releases/download/v0.16.0 &&
curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&
sudo install /tmp/docker-machine /usr/local/bin/docker-machine

Set system Variables

Install Virtualbox

apt-get install virtualbox
docker-machine create default

If you’re using VMWare (I’m using Workstation) you’ll need to enable Virtualizing the Intel VT-x/EPT Virtualisation engine:

Otherwise you’ll get the error: “This computer doesn’t have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory”
docker-machine create default

Now you have created a default docker-machine you can finally set the system variable to point the system shell at the Docker engine:

eval "$(docker-machine env default)"

Clone Git Repo

git clone https://github.com/WASdev/sample.voice.gateway.git

Download Docker Images

docker pull ibmcom/voice-gateway-so:latest && docker pull ibmcom/voice-gateway-mr:latest

This step takes a while, downloads aren’t super quick, but once it’s finished you’re setup and all you need to do is add your credentials.

Leave a Reply

Your email address will not be published. Required fields are marked *