File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 4343 - name : Get Docker version
4444 run : |
4545 docker --version
46- docker-compose --version
4746
4847 - name : Install pytest
4948 run : pip install pytest requests
@@ -53,13 +52,13 @@ jobs:
5352
5453 - name : Run JupyterHub
5554 working-directory : ${{ matrix.example }}
56- run : docker- compose up --detach
55+ run : docker compose up --detach
5756
5857 - name : Test
5958 working-directory : ${{ matrix.example }}
6059 run : pytest --verbose --capture=no
6160
62- - name : Print docker- compose logs
61+ - name : Print docker compose logs
6362 if : always()
6463 working-directory : ${{ matrix.example }}
65- run : docker- compose logs
64+ run : docker compose logs
Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ This deployment uses [JupyterHub Native Authenticator](https://native-authentica
6060
6161## Build the JupyterHub Docker image
6262
63- 1 . Use [ docker- compose] ( https://docs.docker.com/compose/reference/ ) to build
63+ 1 . Use [ docker compose] ( https://docs.docker.com/compose/reference/ ) to build
6464 the JupyterHub Docker image:
6565
6666 ``` bash
67- docker- compose build
67+ docker compose build
6868 ```
6969
7070## Customisation: Jupyter Notebook Image
@@ -102,15 +102,15 @@ Run the JupyterHub container on the host.
102102To run the JupyterHub container in detached mode:
103103
104104``` bash
105- docker- compose up -d
105+ docker compose up -d
106106```
107107
108108Once the container is running, you should be able to access the JupyterHub console at ` http://localhost:8000 ` .
109109
110110To bring down the JupyterHub container:
111111
112112``` bash
113- docker- compose down
113+ docker compose down
114114```
115115
116116---
Original file line number Diff line number Diff line change 11# Copyright (c) Jupyter Development Team.
22# Distributed under the terms of the Modified BSD License.
33
4- # JupyterHub docker- compose configuration file
4+ # JupyterHub docker compose configuration file
55version : " 3"
66
77services :
You can’t perform that action at this time.
0 commit comments