SciSharp Cube
在Docker容器中快速體驗SciSharp機器學習工具的最新功能。
項目地址:https://github.com/SciSharp/SciSharpCube
從Docker Hub運行
docker run --name scisharp -it -p 8888:8888 scisharpstack/scisharpcube
這條命令會拉取最新的SciSharpCube鏡像並運行該鏡像。

這是一個線性回歸的例子。

在本地構建鏡像
獲取源碼
git clone https://github.com/SciSharp/SciSharpCube cd SciSharpCube
構建docker鏡像
docker build -f ./dockerfiles/cube.dockfile -t scisharpcube .
如果 microsoft/dotnet 沒有被自動拉取,那么您應該先運行 docker pull microsoft/dotnet 這個命令。
運行一個容器
docker run --name scisharp -it -p 8888:8888 scisharpcube
現在您可以使用瀏覽器打開控制台中輸出的Jupyter鏈接了。恭喜您,您當前是在Jupyter中運行SciSharp Stack。
小提示(不是必須)
如果您想打開另一個shell。
docker exec -it scisharp bash
如果您之前是使用Ctrl+C組合鍵來退出容器的,那么您可以使用下面這條命令來重新進入容器。
docker start scisharp -i
