You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--Delete sections as needed -->
## Description
Updated image to `node:lts-alpine` and tested in bind mounts,
multi-container, and compose topics.
`node:18-alpine` is no longer available.
The image was already updated to `node:lts-alpine` in the initial topics
of the workshop.
lts (version 22) should be good until April 2027
## Related issues or tickets
https://docker.slack.com/archives/C04BMTUC41E/p1758903149468219
## Reviews
<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->
- [ ] Editorial review
Signed-off-by: Craig <[email protected]>
Copy file name to clipboardExpand all lines: content/get-started/workshop/08_using_compose.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ $ docker run -dp 127.0.0.1:3000:3000 \
46
46
-e MYSQL_USER=root \
47
47
-e MYSQL_PASSWORD=secret \
48
48
-e MYSQL_DB=todos \
49
-
node:18-alpine \
49
+
node:lts-alpine \
50
50
sh -c "yarn install && yarn run dev"
51
51
```
52
52
@@ -58,15 +58,15 @@ You'll now define this service in the `compose.yaml` file.
58
58
```yaml
59
59
services:
60
60
app:
61
-
image: node:18-alpine
61
+
image: node:lts-alpine
62
62
```
63
63
64
64
2. Typically, you will see `command` close to the `image` definition, although there is no requirement on ordering. Add the `command` to your `compose.yaml` file.
65
65
66
66
```yaml
67
67
services:
68
68
app:
69
-
image: node:18-alpine
69
+
image: node:lts-alpine
70
70
command: sh -c "yarn install && yarn run dev"
71
71
```
72
72
@@ -75,7 +75,7 @@ You'll now define this service in the `compose.yaml` file.
75
75
```yaml
76
76
services:
77
77
app:
78
-
image: node:18-alpine
78
+
image: node:lts-alpine
79
79
command: sh -c "yarn install && yarn run dev"
80
80
ports:
81
81
- 127.0.0.1:3000:3000
@@ -89,7 +89,7 @@ You'll now define this service in the `compose.yaml` file.
89
89
```yaml
90
90
services:
91
91
app:
92
-
image: node:18-alpine
92
+
image: node:lts-alpine
93
93
command: sh -c "yarn install && yarn run dev"
94
94
ports:
95
95
- 127.0.0.1:3000:3000
@@ -103,7 +103,7 @@ You'll now define this service in the `compose.yaml` file.
103
103
```yaml
104
104
services:
105
105
app:
106
-
image: node:18-alpine
106
+
image: node:lts-alpine
107
107
command: sh -c "yarn install && yarn run dev"
108
108
ports:
109
109
- 127.0.0.1:3000:3000
@@ -185,7 +185,7 @@ At this point, your complete `compose.yaml` should look like this:
0 commit comments