Run Machine Learning program on Docker Container in GUI mode
Jul 30, 2021
The jupyter Notebook is an open-source web application that allows creating documents that contain live code, equations, visualizations, etc.
So here we start making our jupyter notebook inside our container
- First, we create a directory.
2. Then we create a docker file
vim dockerfile
3. copy the code in the docker file
4. Then we build the container image with this command
docker build -t task2:v1 .
5. Run the container
docker run -it -p 8888:8888 --name jupyter task2:v1
6. We will run jupyter notebook inside our container
jupyter notebook --allow-root
7. Now our jupyter notebook is running on port 8888
THANK YOU