mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-05-14 10:53:43 +00:00
Machine Learning
This provides a machine learning environment with the machine-learning-web-ui,
bundle from Clearlinux
Build
docker build -t clearlinux/machine-learning-ui .
Or just pull it from Dockerhub
docker pull clearlinux/machine-learning-ui
Run the machine-learning-ui Container
docker run -p 8888:8888 -it clearlinux/machine-learning-ui
Environment Variables
none
Extra Build ARGs
swupd_argsSpecifies SWUPD flags
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg
Deploy with Kubernetes
This image can also be deployed on a Kubernetes cluster, such as minikube.The following example YAML files are provided in the repository as reference for Kubernetes deployment:
machine-learning-ui-deployment.yaml: example to provide jupyter notebook service.
Steps to deploy notebook on a Kubernetes cluster:
-
Deploy
machine-learning-ui-deployment.yamlkubectl create -f machine-learning-ui-deployment.yaml -
Navigate to http://<nodeIP>:30001 in your browser, where 30001 is the port number defined in your service.