microsoft / SynapseML

Simple and Distributed Machine Learning
http://aka.ms/spark
MIT License
5.07k stars 831 forks source link

Prebuilt docker image does not work #1310

Closed FrancescoMalluzzo closed 2 months ago

FrancescoMalluzzo commented 2 years ago

Describe the bug Starting from SynapseML website and launching container with a pre-built docker image, nothing appears on the localhost, I am using Ubuntu 20.04. Container does not log anything (this is unusual) but it is up and run.

To Reproduce Following docs try to run on terminal:

docker run -it -p 8888:8888 -e ACCEPT_EULA=yes mcr.microsoft.com/mmlspark/release

What I obtain is a bash open in a folder notebooks like:

root@c9711d3de3f8:/notebooks# 

Expected behavior As documentation says: I could run some sample notebooks at the port 8888, but nothing appears.

Info (please complete the following information):

Stacktrace

No stacktrace is available because there are no logs.

Additional context

Inside the notebooks folder there are some contents, listed here:

.
`-- features
    |-- classification
    |   |-- Classification\ -\ Adult\ Census\ with\ Vowpal\ Wabbit.ipynb
    |   |-- Classification\ -\ Adult\ Census.ipynb
    |   |-- Classification\ -\ Before\ and\ After\ SynapseML.ipynb
    |   `-- Classification\ -\ Twitter\ Sentiment\ with\ Vowpal\ Wabbit.ipynb
    |-- cognitive_services
    |   |-- CognitiveServices\ -\ Celebrity\ Quote\ Analysis.ipynb
    |   |-- CognitiveServices\ -\ Create\ a\ Multilingual\ Search\ Engine\ from\ Forms.ipynb
    |   |-- CognitiveServices\ -\ Overview.ipynb
    |   `-- CognitiveServices\ -\ Predictive\ Maintenance.ipynb
    |-- lightgbm
    |   `-- LightGBM\ -\ Overview.ipynb
    |-- onnx
    |   `-- ONNX\ -\ Inference\ on\ Spark.ipynb
    |-- opencv
    |   `-- OpenCV\ -\ Pipeline\ Image\ Transformations.ipynb
    |-- other
    |   |-- AzureSearchIndex\ -\ Met\ Artworks.ipynb
    |   |-- ConditionalKNN\ -\ Exploring\ Art\ Across\ Cultures.ipynb
    |   |-- CyberML\ -\ Anomalous\ Access\ Detection.ipynb
    |   |-- DeepLearning\ -\ BiLSTM\ Medical\ Entity\ Extraction.ipynb
    |   |-- DeepLearning\ -\ CIFAR10\ Convolutional\ Network.ipynb
    |   |-- DeepLearning\ -\ Flower\ Image\ Classification.ipynb
    |   |-- DeepLearning\ -\ Transfer\ Learning.ipynb
    |   |-- HyperParameterTuning\ -\ Fighting\ Breast\ Cancer.ipynb
    |   |-- TextAnalytics\ -\ Amazon\ Book\ Reviews\ with\ Word2Vec.ipynb
    |   `-- TextAnalytics\ -\ Amazon\ Book\ Reviews.ipynb
    |-- regression
    |   |-- Regression\ -\ Auto\ Imports.ipynb
    |   |-- Regression\ -\ Flight\ Delays\ with\ DataCleaning.ipynb
    |   |-- Regression\ -\ Flight\ Delays.ipynb
    |   `-- Regression\ -\ Vowpal\ Wabbit\ vs.\ LightGBM\ vs.\ Linear\ Regressor.ipynb
    |-- responsible_ai
    |   |-- DataBalanceAnalysis\ -\ Adult\ Census\ Income.ipynb
    |   |-- Interpretability\ -\ Explanation\ Dashboard.ipynb
    |   |-- Interpretability\ -\ Image\ Explainers.ipynb
    |   |-- Interpretability\ -\ Snow\ Leopard\ Detection.ipynb
    |   |-- Interpretability\ -\ Tabular\ SHAP\ explainer.ipynb
    |   `-- Interpretability\ -\ Text\ Explainers.ipynb
    |-- spark_serving
    |   `-- SparkServing\ -\ Deploying\ a\ Classifier.ipynb
    `-- vw
        `-- Vowpal\ Wabbit\ -\ Overview.ipynb

11 directories, 33 files
FrancescoMalluzzo commented 2 years ago

Probably this issue should be linked with the #1280, feel free to merge the issue or close this reporting this info the #1280 .

memoryz commented 2 months ago

Once the docker container instance is started, run jupyter lab from the /notebooks directory and open browser to http://127.0.0.1:8888/lab on the host and you will be able to play with the notebooks. I just tested with mcr.microsoft.com/mmlspark/release:latest and it works.