@@ -10,13 +10,14 @@ produces
10
10
[ Docker images] ( https://hub.docker.com/repository/docker/infrahelpers/python-jupyter ) ,
11
11
which provide ready-to-use Artificial Intelligence (AI) / Machine Learning (ML)
12
12
Python Jupyter environments on a few well known and stable Linux distributions
13
- (_ e.g._ , [ CentOS 8] ( https://wiki.centos.org/Manuals/ReleaseNotes/CentOSLinux8 ) ,
13
+ (_ e.g._ , [ CentOS 9 Stream] ( https://centos.org/stream9/ ) ,
14
+ [ CentOS 8 Stream] ( https://wiki.centos.org/Manuals/ReleaseNotes/CentOSLinux8 ) ,
14
15
[ CentOS 7] ( https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7 ) ,
16
+ [ Debian 11 (Bookworm)] ( https://www.debian.org/releases/bookworm/ ) ,
15
17
[ Debian 11 (Bullseye)] ( https://www.debian.org/releases/bullseye/ ) ,
16
- [ Debian 10 (Buster)] ( https://www.debian.org/releases/buster/ ) ,
17
- [ Ubuntu 20.04 LTS (Focal Fossa)] ( https://releases.ubuntu.com/20.04/ ) ,
18
- [ Ubuntu 18.04 LTS (Bionic Beaver)] ( https://releases.ubuntu.com/18.04/ ) and
19
- [ Ubuntu 16.04 LTS (Xenial Xerus)] ( https://releases.ubuntu.com/16.04/ ) ).
18
+ [ Ubuntu 22.04 LTS (Jammy Jellyfish)] ( https://releases.ubuntu.com/22.04/ ) ,
19
+ [ Ubuntu 20.04 LTS (Focal Fossa)] ( https://releases.ubuntu.com/20.04/ ) and
20
+ [ Ubuntu 18.04 LTS (Bionic Beaver)] ( https://releases.ubuntu.com/18.04/ ) ).
20
21
21
22
The Docker images just add some Jupyter notebook and data set samples
22
23
on top of other
@@ -72,9 +73,12 @@ Those images are available on their own
72
73
* Production-ready Python cloud images:
73
74
+ On GitHub: https://github.com/cloud-helpers/cloud-python-images
74
75
+ On Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/cloud-python
76
+ * Production-ready Data Processing Pipelines (DPP) images:
77
+ + On GitHub: https://github.com/data-engineering-helpers/dpp-images
78
+ + On Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/dpp
75
79
* General purpose C++/Python images:
76
80
+ On GitHub: https://github.com/cpp-projects-showcase/docker-images
77
- + On Docker Hub: https://hub.docker.com/repository/docker/cpppythondevelopment/base
81
+ + On Docker Hub: https://hub.docker.com/repository/docker/infrahelpers/cpppython
78
82
* Native Docker Python images:
79
83
+ On GitHub: https://github.com/docker-library/python
80
84
+ On Docker Hub: https://hub.docker.com/_/python
@@ -85,30 +89,30 @@ Those images are available on their own
85
89
86
90
# Simple use
87
91
* Download the Docker image for your preferred Linux distribution (where
88
- ` <linux-distrib> ` is one of ` centos8 ` , ` centos7 ` , ` debian11 ` , ` debian10 ` ,
89
- ` ubuntu2004 ` , ` ubuntu1804 ` or ` ubuntu1604 ` ):
92
+ ` <linux-distrib> ` is one of ` centos9 ` , ` centos8 ` , ` centos7 ` , ` debian12 ` ,
93
+ ` debian11 ` , ` ubuntu2204 ` , ` ubuntu2004 ` or ` ubuntu1804 ` ):
90
94
``` bash
91
95
$ docker pull infrahelpers/python-jupyter:< linux-distrib>
92
96
```
93
97
94
98
## With the Jupyter notebook and data set samples provided by the Docker images
95
99
* Launch Jupyter Lab within the Docker image (where ` <port> ` corresponds
96
- to the local port on which Jupyter Lab is launched; the default is 8888):
100
+ to the local port on which Jupyter Lab is launched; the default is ` 8888 ` ):
97
101
``` bash
98
102
$ docker run -d -p < port> :8888 infrahelpers/python-jupyter:< linux-distrib>
99
103
```
100
104
101
105
## With your own Jupyter notebooks and data sets
102
106
* Launch Jupyter Lab within the Docker image (where ` <port> ` corresponds
103
- to the local port on which Jupyter Lab is launched; the default is 8888):
107
+ to the local port on which Jupyter Lab is launched; the default is ` 8888 ` ):
104
108
``` bash
105
109
$ docker run -d -p < port> :8888 -v ${PWD} /notebook/induction:/notebook -v ${PWD} /data/induction:/data infrahelpers/python-jupyter:< linux-distrib>
106
110
```
107
111
108
112
## Interact with Jupyter Lab in a Web browser
109
113
Jupyter Lab (run from the Docker image) is now available on the Web browser:
110
114
http://localhost:8888
111
- Note that the port (8888 by default) may be changed as per your convenience.
115
+ Note that the port (` 8888 ` by default) may be changed as per your convenience.
112
116
113
117
# Build your own Docker image
114
118
* Clone the
@@ -119,10 +123,9 @@ $ git clone https://github.com/machine-learning-helpers/docker-python-jupyter.gi
119
123
$ cd docker-python-jupyter
120
124
```
121
125
122
- * Build the Docker image (the ` --squash ` option is only available on
123
- [ Docker Edge] ( http://docs.docker.com/edge/ ) , as of end of 2018):
126
+ * Build the Docker image:
124
127
``` bash
125
- $ docker build -t infrahelpers/python-jupyter:< linux-distrib> --squash < linux-distrib> /
128
+ $ docker build -t infrahelpers/python-jupyter:< linux-distrib> < linux-distrib> /
126
129
$ docker images
127
130
REPOSITORY TAG IMAGE ID CREATED SIZE
128
131
infrahelpers/python-jupyter linux-distrib 33a1ad533140 About a minute ago 2.29GB
@@ -134,14 +137,14 @@ infrahelpers/python-jupyter linux-distrib 33a1ad533140 About a minute ago 2.29GB
134
137
[ a change on GitHub] ( https://github.com/machine-learning-helpers/docker-python-jupyter/commits/master ) )
135
138
``` bash
136
139
$ docker login
137
- $ docker push infrahelpers/python-jupyter-manual :< linux-distrib>
140
+ $ docker push infrahelpers/python-jupyter:< linux-distrib>
138
141
```
139
142
140
143
* Shutdown the Docker image
141
144
``` bash
142
145
$ docker ps
143
146
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
144
- 7b69efc9dc9a ai/python-jupyter:centos7 " /bin/sh -c 'pipenv ..." 48 seconds ago Up 47 seconds 0.0.0.0:9000-> 8888/tcp vigilant_merkle
147
+ 7b69efc9dc9a ai/python-jupyter:centos9 " /bin/sh -c 'pipenv ..." 48 seconds ago Up 47 seconds 0.0.0.0:9000-> 8888/tcp vigilant_merkle
145
148
$ docker kill vigilant_merkle
146
149
vigilant_merkle
147
150
$ docker ps
0 commit comments