From 61d1c641f6827e328f257d4bef88456a9f0c3beb Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sat, 16 Mar 2024 21:36:07 +0100 Subject: [PATCH] Ensure SIGTERM leads to graceful termination in rocker/binder --- dockerfiles/binder_4.0.0.Dockerfile | 2 +- dockerfiles/binder_4.0.1.Dockerfile | 2 +- dockerfiles/binder_4.0.2.Dockerfile | 2 +- dockerfiles/binder_4.0.3.Dockerfile | 2 +- dockerfiles/binder_4.0.4.Dockerfile | 2 +- dockerfiles/binder_4.0.5.Dockerfile | 2 +- dockerfiles/binder_4.1.0.Dockerfile | 2 +- dockerfiles/binder_4.1.1.Dockerfile | 2 +- dockerfiles/binder_4.1.2.Dockerfile | 2 +- dockerfiles/binder_4.1.3.Dockerfile | 2 +- dockerfiles/binder_4.2.0.Dockerfile | 2 +- dockerfiles/binder_4.2.1.Dockerfile | 2 +- dockerfiles/binder_4.2.2.Dockerfile | 2 +- dockerfiles/binder_4.2.3.Dockerfile | 2 +- dockerfiles/binder_4.3.0.Dockerfile | 2 +- dockerfiles/binder_4.3.1.Dockerfile | 2 +- dockerfiles/binder_4.3.2.Dockerfile | 2 +- dockerfiles/binder_4.3.3.Dockerfile | 2 +- dockerfiles/binder_devel.Dockerfile | 2 +- stacks/4.0.0.json | 2 +- stacks/4.0.1.json | 2 +- stacks/4.0.2.json | 2 +- stacks/4.0.3.json | 2 +- stacks/4.0.4.json | 2 +- stacks/4.0.5.json | 2 +- stacks/4.1.0.json | 2 +- stacks/4.1.1.json | 2 +- stacks/4.1.2.json | 2 +- stacks/4.1.3.json | 2 +- stacks/4.2.0.json | 2 +- stacks/4.2.1.json | 2 +- stacks/4.2.2.json | 2 +- stacks/4.2.3.json | 2 +- stacks/4.3.0.json | 2 +- stacks/4.3.1.json | 2 +- stacks/4.3.2.json | 2 +- stacks/4.3.3.json | 2 +- stacks/devel.json | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/dockerfiles/binder_4.0.0.Dockerfile b/dockerfiles/binder_4.0.0.Dockerfile index 0bf2f54b..c132e9b9 100644 --- a/dockerfiles/binder_4.0.0.Dockerfile +++ b/dockerfiles/binder_4.0.0.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.0.1.Dockerfile b/dockerfiles/binder_4.0.1.Dockerfile index 5cd1ee97..6365023f 100644 --- a/dockerfiles/binder_4.0.1.Dockerfile +++ b/dockerfiles/binder_4.0.1.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.0.2.Dockerfile b/dockerfiles/binder_4.0.2.Dockerfile index b02a5120..e8a1729a 100644 --- a/dockerfiles/binder_4.0.2.Dockerfile +++ b/dockerfiles/binder_4.0.2.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.0.3.Dockerfile b/dockerfiles/binder_4.0.3.Dockerfile index 0d553acf..10779b5c 100644 --- a/dockerfiles/binder_4.0.3.Dockerfile +++ b/dockerfiles/binder_4.0.3.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.0.4.Dockerfile b/dockerfiles/binder_4.0.4.Dockerfile index e0e28112..0bc06eb7 100644 --- a/dockerfiles/binder_4.0.4.Dockerfile +++ b/dockerfiles/binder_4.0.4.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.0.5.Dockerfile b/dockerfiles/binder_4.0.5.Dockerfile index 504ca5dd..b38285a0 100644 --- a/dockerfiles/binder_4.0.5.Dockerfile +++ b/dockerfiles/binder_4.0.5.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.1.0.Dockerfile b/dockerfiles/binder_4.1.0.Dockerfile index fd26f1f6..88a3e12a 100644 --- a/dockerfiles/binder_4.1.0.Dockerfile +++ b/dockerfiles/binder_4.1.0.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.1.1.Dockerfile b/dockerfiles/binder_4.1.1.Dockerfile index bdcbc858..9986a863 100644 --- a/dockerfiles/binder_4.1.1.Dockerfile +++ b/dockerfiles/binder_4.1.1.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.1.2.Dockerfile b/dockerfiles/binder_4.1.2.Dockerfile index 6cf0e23d..73b77973 100644 --- a/dockerfiles/binder_4.1.2.Dockerfile +++ b/dockerfiles/binder_4.1.2.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.1.3.Dockerfile b/dockerfiles/binder_4.1.3.Dockerfile index 88c47567..3d345921 100644 --- a/dockerfiles/binder_4.1.3.Dockerfile +++ b/dockerfiles/binder_4.1.3.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.2.0.Dockerfile b/dockerfiles/binder_4.2.0.Dockerfile index e9f4de19..e565dcf9 100644 --- a/dockerfiles/binder_4.2.0.Dockerfile +++ b/dockerfiles/binder_4.2.0.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.2.1.Dockerfile b/dockerfiles/binder_4.2.1.Dockerfile index 1cb41985..1c2a483e 100644 --- a/dockerfiles/binder_4.2.1.Dockerfile +++ b/dockerfiles/binder_4.2.1.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.2.2.Dockerfile b/dockerfiles/binder_4.2.2.Dockerfile index 7ebbcbf0..60397ae3 100644 --- a/dockerfiles/binder_4.2.2.Dockerfile +++ b/dockerfiles/binder_4.2.2.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.2.3.Dockerfile b/dockerfiles/binder_4.2.3.Dockerfile index 7076faa2..5af50fe7 100644 --- a/dockerfiles/binder_4.2.3.Dockerfile +++ b/dockerfiles/binder_4.2.3.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.3.0.Dockerfile b/dockerfiles/binder_4.3.0.Dockerfile index 54f3e27d..c7b960fd 100644 --- a/dockerfiles/binder_4.3.0.Dockerfile +++ b/dockerfiles/binder_4.3.0.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.3.1.Dockerfile b/dockerfiles/binder_4.3.1.Dockerfile index 8e903c1f..96a87fab 100644 --- a/dockerfiles/binder_4.3.1.Dockerfile +++ b/dockerfiles/binder_4.3.1.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.3.2.Dockerfile b/dockerfiles/binder_4.3.2.Dockerfile index 1e20b5a4..ffda6506 100644 --- a/dockerfiles/binder_4.3.2.Dockerfile +++ b/dockerfiles/binder_4.3.2.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_4.3.3.Dockerfile b/dockerfiles/binder_4.3.3.Dockerfile index b89cfcbe..57709620 100644 --- a/dockerfiles/binder_4.3.3.Dockerfile +++ b/dockerfiles/binder_4.3.3.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/dockerfiles/binder_devel.Dockerfile b/dockerfiles/binder_devel.Dockerfile index 591d79bc..8699b2f4 100644 --- a/dockerfiles/binder_devel.Dockerfile +++ b/dockerfiles/binder_devel.Dockerfile @@ -13,7 +13,7 @@ RUN /rocker_scripts/install_jupyter.sh EXPOSE 8888 -CMD ["/bin/sh", "-c", "jupyter lab --ip 0.0.0.0 --no-browser"] +CMD ["jupyter", "lab", "--ip", "0.0.0.0", "--no-browser"] USER ${NB_USER} diff --git a/stacks/4.0.0.json b/stacks/4.0.0.json index 46550c80..4ddcd49d 100644 --- a/stacks/4.0.0.json +++ b/stacks/4.0.0.json @@ -154,7 +154,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.0.0" diff --git a/stacks/4.0.1.json b/stacks/4.0.1.json index d9ec52b0..905b53bd 100644 --- a/stacks/4.0.1.json +++ b/stacks/4.0.1.json @@ -145,7 +145,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.0.1" diff --git a/stacks/4.0.2.json b/stacks/4.0.2.json index dfe9ef94..1a2ec821 100644 --- a/stacks/4.0.2.json +++ b/stacks/4.0.2.json @@ -145,7 +145,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.0.2" diff --git a/stacks/4.0.3.json b/stacks/4.0.3.json index e737abe4..20592f0b 100644 --- a/stacks/4.0.3.json +++ b/stacks/4.0.3.json @@ -145,7 +145,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.0.3" diff --git a/stacks/4.0.4.json b/stacks/4.0.4.json index 1a055b56..801d00e6 100644 --- a/stacks/4.0.4.json +++ b/stacks/4.0.4.json @@ -145,7 +145,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.0.4" diff --git a/stacks/4.0.5.json b/stacks/4.0.5.json index 86eb2136..6670c475 100644 --- a/stacks/4.0.5.json +++ b/stacks/4.0.5.json @@ -152,7 +152,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.0.5", diff --git a/stacks/4.1.0.json b/stacks/4.1.0.json index a6624dd2..0abd9f4d 100644 --- a/stacks/4.1.0.json +++ b/stacks/4.1.0.json @@ -167,7 +167,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.1.0" diff --git a/stacks/4.1.1.json b/stacks/4.1.1.json index c6f203e9..a5d700ff 100644 --- a/stacks/4.1.1.json +++ b/stacks/4.1.1.json @@ -167,7 +167,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.1.1" diff --git a/stacks/4.1.2.json b/stacks/4.1.2.json index 685668ae..a4adbf6f 100644 --- a/stacks/4.1.2.json +++ b/stacks/4.1.2.json @@ -167,7 +167,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.1.2" diff --git a/stacks/4.1.3.json b/stacks/4.1.3.json index f47773c8..3f5737bf 100644 --- a/stacks/4.1.3.json +++ b/stacks/4.1.3.json @@ -188,7 +188,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.1.3", diff --git a/stacks/4.2.0.json b/stacks/4.2.0.json index 387b6014..16f2a168 100644 --- a/stacks/4.2.0.json +++ b/stacks/4.2.0.json @@ -174,7 +174,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.2.0", diff --git a/stacks/4.2.1.json b/stacks/4.2.1.json index 132f93fc..85901ede 100644 --- a/stacks/4.2.1.json +++ b/stacks/4.2.1.json @@ -174,7 +174,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.2.1", diff --git a/stacks/4.2.2.json b/stacks/4.2.2.json index f60dc99b..a5d8dfc8 100644 --- a/stacks/4.2.2.json +++ b/stacks/4.2.2.json @@ -174,7 +174,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.2.2", diff --git a/stacks/4.2.3.json b/stacks/4.2.3.json index d95509d1..3b405a4e 100644 --- a/stacks/4.2.3.json +++ b/stacks/4.2.3.json @@ -188,7 +188,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.2.3", diff --git a/stacks/4.3.0.json b/stacks/4.3.0.json index 9bfd3a48..215ebd57 100644 --- a/stacks/4.3.0.json +++ b/stacks/4.3.0.json @@ -178,7 +178,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.3.0", diff --git a/stacks/4.3.1.json b/stacks/4.3.1.json index bc06f474..0130f10a 100644 --- a/stacks/4.3.1.json +++ b/stacks/4.3.1.json @@ -178,7 +178,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.3.1", diff --git a/stacks/4.3.2.json b/stacks/4.3.2.json index 282c616a..65f7a2d3 100644 --- a/stacks/4.3.2.json +++ b/stacks/4.3.2.json @@ -178,7 +178,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.3.2", diff --git a/stacks/4.3.3.json b/stacks/4.3.3.json index 8c6974b5..261c3156 100644 --- a/stacks/4.3.3.json +++ b/stacks/4.3.3.json @@ -220,7 +220,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888, "tags": [ "docker.io/rocker/binder:4.3.3", diff --git a/stacks/devel.json b/stacks/devel.json index 9858bbe3..6a7ad642 100644 --- a/stacks/devel.json +++ b/stacks/devel.json @@ -136,7 +136,7 @@ ], "USER": "${NB_USER}", "WORKDIR": "/home/${NB_USER}", - "CMD": "[\"/bin/sh\", \"-c\", \"jupyter lab --ip 0.0.0.0 --no-browser\"]", + "CMD": "[\"jupyter\", \"lab\", \"--ip\", \"0.0.0.0\", \"--no-browser\"]", "EXPOSE": 8888 }, {