Skip to content

ysraell/my-ds

Repository files navigation

My-DS

My data science Docker image.

Python 3.7 Python 3.8 Python 3.9 Python 3.10

Docker 20.10

Base Docker image: python

Settings:

Check settings.yml first!

Building:

To build the image:

$ ./build

Start:

To start the image and set up the servers:

$ ./start
  • Every time tha you run this command, will create a new container!! Run it once (always as possible).

Wait for get the JupterLab URL access.

JupterLab URL:

To get the JupterLab URL access:

$ ./list_jupyter

Stopping:

To stop the container:

$ ./stop

Load previous container:

To load a container already stared before:

$ ./load

REmove previous container:

To remove a container already stared before:

$ ./rm_container

Run a shell in the running container:

To enter into container:

$ ./bash

or

$ ./zsh

Run with Docker Compose:

in Linux...

$ docker-compose -f docker-compose.yml up
$ docker-compose -f docker-compose.yml up

in Windows with docker-compose.windows.yml and check mount point in settings.yml beafore use.

C:\Users\UserLogin> mkdir work
C:\Users\UserLogin> cd work
 - Download docker-compose.windows.yml to C:\Users\UserLogin\work -
C:\Users\UserLogin\work> docker-compose -f docker-compose.windows.yml up

Alter pulled the image, it will return the link for JupyterLab with a token, like this:

workstation_1 | or http://127.0.0.1:8888/lab?token=2ee0f77e160ce90db827324b66a516c3b26e04e5c7a5e511

Run Stremalit apps:

$ ./scripts/bash.sh
$ python3 -m launchpad.main --port 8000 ./folder_with_pys
  • Or check script servers.sh and uncomment the respective line.

To create symbolic links to scripts:

$ for a in `ls  scripts/*.sh`;
    do
        ln -s $a `echo $a |cut -d '/' -f 2 |cut -d '.' -f 1`
    done

ψυχήδηλειν

About

My data science Docker image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published