Skip to content

MantisAI/collab

Repository files navigation

Docker Environment Setup for AI Training

This repository provides a Docker-based environment to ensure that all participants have the necessary libraries installed for the AI sessions.

Prerequisites

Build the Docker Image

  1. Login to Docker Hub and open Docker Desktop:

    docker login
  2. Clone this repository to your local machine:

    git clone [email protected]:MantisAI/collab.git
    cd collab
  3. Build the Docker image using the provided Dockerfile:

    For Windows:

    docker build -t my-jupyter-app -f Dockerfile.windows .

    For Unix:

    docker build -t my-jupyter-app .

    This command will create a Docker image named my-jupyter-app with all the necessary libraries pre-installed.

Run the Docker Container

Once the image is built, you can run the container using the following command:

docker run -p 8888:8888 my-jupyter-app jupyter

This command will:

  • Run the container to start Jupyter Notebook.
  • Expose port 8888, which is commonly used for Jupyter notebooks (-p 8888:8888).

Copy the URL from the terminal output and open it in your browser to access the notebooks. It should look like:

http://localhost:8888/?token=<some-random-string>

Accessing the Container

To access the running container's shell (in case you need to install additional packages or run scripts), use:

docker exec -it <container-id> /bin/bash

You can get the container-id using:

docker ps

Stopping the Container

To stop the running container, press CTRL+C in the terminal where the container is running, or use:

docker stop <container-id>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •