Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit de2a6dd

Browse files
committed
[Doc] Updated the doc for the Python upgrade
1 parent 4b6f5e0 commit de2a6dd

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

‎README.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ produces
1010
[Docker images](https://hub.docker.com/repository/docker/infrahelpers/python-jupyter),
1111
which provide ready-to-use Artificial Intelligence (AI) / Machine Learning (ML)
1212
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),
1415
[CentOS 7](https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7),
16+
[Debian 11 (Bookworm)](https://www.debian.org/releases/bookworm/),
1517
[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/)).
2021

2122
The Docker images just add some Jupyter notebook and data set samples
2223
on top of other
@@ -72,9 +73,12 @@ Those images are available on their own
7273
* Production-ready Python cloud images:
7374
+ On GitHub: https://github.com/cloud-helpers/cloud-python-images
7475
+ 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
7579
* General purpose C++/Python images:
7680
+ 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
7882
* Native Docker Python images:
7983
+ On GitHub: https://github.com/docker-library/python
8084
+ On Docker Hub: https://hub.docker.com/_/python
@@ -85,30 +89,30 @@ Those images are available on their own
8589

8690
# Simple use
8791
* 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`):
9094
```bash
9195
$ docker pull infrahelpers/python-jupyter:<linux-distrib>
9296
```
9397

9498
## With the Jupyter notebook and data set samples provided by the Docker images
9599
* 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`):
97101
```bash
98102
$ docker run -d -p <port>:8888 infrahelpers/python-jupyter:<linux-distrib>
99103
```
100104

101105
## With your own Jupyter notebooks and data sets
102106
* 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`):
104108
```bash
105109
$ docker run -d -p <port>:8888 -v ${PWD}/notebook/induction:/notebook -v ${PWD}/data/induction:/data infrahelpers/python-jupyter:<linux-distrib>
106110
```
107111

108112
## Interact with Jupyter Lab in a Web browser
109113
Jupyter Lab (run from the Docker image) is now available on the Web browser:
110114
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.
112116

113117
# Build your own Docker image
114118
* Clone the
@@ -119,10 +123,9 @@ $ git clone https://github.com/machine-learning-helpers/docker-python-jupyter.gi
119123
$ cd docker-python-jupyter
120124
```
121125

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:
124127
```bash
125-
$ docker build -t infrahelpers/python-jupyter:<linux-distrib> --squash <linux-distrib>/
128+
$ docker build -t infrahelpers/python-jupyter:<linux-distrib> <linux-distrib>/
126129
$ docker images
127130
REPOSITORY TAG IMAGE ID CREATED SIZE
128131
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
134137
[a change on GitHub](https://github.com/machine-learning-helpers/docker-python-jupyter/commits/master))
135138
```bash
136139
$ docker login
137-
$ docker push infrahelpers/python-jupyter-manual:<linux-distrib>
140+
$ docker push infrahelpers/python-jupyter:<linux-distrib>
138141
```
139142

140143
* Shutdown the Docker image
141144
```bash
142145
$ docker ps
143146
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
145148
$ docker kill vigilant_merkle
146149
vigilant_merkle
147150
$ docker ps

‎ubuntu2204/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Python Jupyter notebooks for Artificial Intelligence (AI) / Machine Learning (ML) on Ubuntu 22.04 LTS (Focal Fossa)
2+
# Python Jupyter notebooks for Artificial Intelligence (AI) / Machine Learning (ML) on Ubuntu 22.04 LTS
33
#
44
# Source: https://github.com/machine-learning-helpers/docker-python-jupyter/blob/master/ubuntu2204/Dockerfile
55
#

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /