Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Installing Pykaldi Image

PyKaldi image on Docker Hub is automatically updated with every commit to the master branch. Installing and updating PyKaldi image is as simple as pulling the latest image from Docker Hub.

docker pull pykaldi/pykaldi

Building Pykaldi Image

If you would like to build PyKaldi image yourself instead of downloading it from Docker Hub, run the following command inside the pykaldi/docker directory. Note the .. at the end. To copy the contents of pykaldi directory into the container, we set the parent directory, i.e. pykaldi, as the build context.

docker build --tag pykaldi/pykaldi -f Dockerfile ..

Running PyKaldi Image

Bash

You can run PyKaldi image in interactive mode with the following command.

docker run -it pykaldi/pykaldi /bin/bash

Jupyter Notebook

PyKaldi image comes with IPython and Jupyter. You can use PyKaldi inside a Jupyter notebook by first starting the server

docker run -it -p 9000:9000 pykaldi/pykaldi /bin/bash
jupyter notebook --no-browser --ip=* --port=9000 --allow-root

and then navigating to http://localhost:9000 using your favorite web browser.