Add docker.io to more places

This commit is contained in:
Ayaz Salikhov
2023-10-20 00:43:18 +02:00
parent 814219407b
commit 00e591fcf0
5 changed files with 11 additions and 13 deletions

View File

@@ -34,13 +34,13 @@ s2i build \
--scripts-url https://raw.githubusercontent.com/jupyter/docker-stacks/main/examples/source-to-image \
--context-dir docs/source/examples/Notebook \
https://github.com/jupyter/notebook \
jupyter/minimal-notebook:latest \
docker.io/jupyter/minimal-notebook:latest \
notebook-examples
```
This example command will pull down the Git repository <https://github.com/jupyter/notebook>
and build the image `notebook-examples` using the files contained in the `docs/source/examples/Notebook` directory of that Git repository.
The base image which the files will be combined with is `jupyter/minimal-notebook:latest`, but you can specify any of the Jupyter Project `docker-stacks` images as the base image.
The base image which the files will be combined with is `docker.io/jupyter/minimal-notebook:latest`, but you can specify any of the Jupyter Project `docker-stacks` images as the base image.
The resulting image from running the command can be seen by running `docker images` command:
@@ -147,7 +147,7 @@ oc new-app --template jupyter-notebook-quickstart \
--param APPLICATION_NAME=notebook-examples \
--param GIT_REPOSITORY_URL=https://github.com/jupyter/notebook \
--param CONTEXT_DIR=docs/source/examples/Notebook \
--param BUILDER_IMAGE=jupyter/minimal-notebook:latest \
--param BUILDER_IMAGE=docker.io/jupyter/minimal-notebook:latest \
--param NOTEBOOK_PASSWORD=mypassword
```

View File

@@ -22,7 +22,7 @@
},
{
"name": "BUILDER_IMAGE",
"value": "jupyter/minimal-notebook:latest",
"value": "docker.io/jupyter/minimal-notebook:latest",
"required": true
},
{
@@ -125,7 +125,7 @@
},
{
"name": "BUILDER_IMAGE",
"value": "jupyter/minimal-notebook:latest",
"value": "docker.io/jupyter/minimal-notebook:latest",
"required": true
},
{
@@ -279,7 +279,6 @@
"--no-browser",
"--ip=0.0.0.0"
],
"ports": [
{
"containerPort": 8888,