Skip to content

Commit 3783ecf

Browse files
committed
Update code block examples
1 parent 95cebcc commit 3783ecf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/contribute/components/code-blocks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ Use the `bash` language code block when you want to show a Bash script:
9898

9999
```bash
100100
#!/usr/bin/bash
101-
echo "deb https://packages.docker.com/1.12/apt/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
101+
echo "deb https://download.docker.com/linux/ubuntu noble stable" | sudo tee /etc/apt/sources.list.d/docker.list
102102
```
103103

104104
If you want to show an interactive shell, use `console` instead.
105105
In cases where you use `console`, make sure to add a dollar character
106106
for the user sign:
107107

108108
```console
109-
$ echo "deb https://packages.docker.com/1.12/apt/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list
109+
$ echo "deb https://download.docker.com/linux/ubuntu noble stable" | sudo tee /etc/apt/sources.list.d/docker.list
110110
```
111111

112112
## Go

0 commit comments

Comments
 (0)