File tree 3 files changed +8
-9
lines changed
3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 43
43
- name : Get Docker version
44
44
run : |
45
45
docker --version
46
- docker-compose --version
47
46
48
47
- name : Install pytest
49
48
run : pip install pytest requests
@@ -53,13 +52,13 @@ jobs:
53
52
54
53
- name : Run JupyterHub
55
54
working-directory : ${{ matrix.example }}
56
- run : docker- compose up --detach
55
+ run : docker compose up --detach
57
56
58
57
- name : Test
59
58
working-directory : ${{ matrix.example }}
60
59
run : pytest --verbose --capture=no
61
60
62
- - name : Print docker- compose logs
61
+ - name : Print docker compose logs
63
62
if : always()
64
63
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
60
60
61
61
## Build the JupyterHub Docker image
62
62
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
64
64
the JupyterHub Docker image:
65
65
66
66
``` bash
67
- docker- compose build
67
+ docker compose build
68
68
```
69
69
70
70
## Customisation: Jupyter Notebook Image
@@ -102,15 +102,15 @@ Run the JupyterHub container on the host.
102
102
To run the JupyterHub container in detached mode:
103
103
104
104
``` bash
105
- docker- compose up -d
105
+ docker compose up -d
106
106
```
107
107
108
108
Once the container is running, you should be able to access the JupyterHub console at ` http://localhost:8000 ` .
109
109
110
110
To bring down the JupyterHub container:
111
111
112
112
``` bash
113
- docker- compose down
113
+ docker compose down
114
114
```
115
115
116
116
---
Original file line number Diff line number Diff line change 1
1
# Copyright (c) Jupyter Development Team.
2
2
# Distributed under the terms of the Modified BSD License.
3
3
4
- # JupyterHub docker- compose configuration file
4
+ # JupyterHub docker compose configuration file
5
5
version : " 3"
6
6
7
7
services :
You can’t perform that action at this time.
0 commit comments